root / trunk / tool / patches / MachineExceptions.diff
| Revision 202, 1.9 kB (checked in by saurik, 9 months ago) |
|---|
-
usr/include/CarbonCore/MachineExceptions.h
277 277 typedef struct ExceptionInformation ExceptionInformation; 278 278 #endif /* TARGET_CPU_X86 */ 279 279 280 #if TARGET_CPU_ARM 281 282 struct MachineInformationARM { 283 int unused; 284 }; 285 typedef struct MachineInformationARM MachineInformationARM; 286 287 struct RegisterInformationARM { 288 unsigned int R0; 289 unsigned int R1; 290 unsigned int R2; 291 unsigned int R3; 292 unsigned int R4; 293 unsigned int R5; 294 unsigned int R6; 295 unsigned int R7; 296 unsigned int R8; 297 unsigned int R9; 298 unsigned int R10; 299 unsigned int R11; 300 unsigned int R12; 301 unsigned int R13; 302 unsigned int R14; 303 unsigned int R15; 304 unsigned int R16; 305 unsigned int R17; 306 }; 307 typedef struct RegisterInformationARM RegisterInformationARM; 308 309 struct FPUInformationARM { 310 unsigned int dunno; /* FIXME */ 311 }; 312 typedef struct FPUInformationARM FPUInformationARM; 313 314 struct VectorInformationARM { 315 unsigned int dunno[8]; 316 }; 317 typedef struct VectorInformationARM VectorInformationARM; 318 319 typedef MachineInformationARM MachineInformation; 320 typedef RegisterInformationARM RegisterInformation; 321 typedef FPUInformationARM FPUInformation; 322 typedef VectorInformationARM VectorInformation; 323 struct ExceptionInformation { 324 ExceptionKind theKind; 325 MachineInformation * machineState; 326 RegisterInformation * registerImage; 327 FPUInformation * FPUImage; 328 ExceptionInfo info; 329 VectorInformation * vectorImage; 330 }; 331 typedef struct ExceptionInformation ExceptionInformation; 332 #endif 333 280 334 /* 281 335 Note: An ExceptionHandler is NOT a UniversalProcPtr, except in Carbon. 282 336 It must be a PowerPC function pointer with NO routine descriptor,
Note: See TracBrowser
for help on using the browser.
