diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-08 21:02:40 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-08 21:02:40 +0000 |
commit | 92e69908cb3a45cbf574cbba78431cb9f481b769 (patch) | |
tree | faffa83aae7f9e272cbcceb74d1104103265519b /tool/patches/MachineExceptions.diff | |
parent | e1df0c047b9193e8275f9aee5acb5a356249a0fb (diff) |
Updated patches to match documentation.
git-svn-id: http://svn.telesphoreo.org/trunk@202 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/patches/MachineExceptions.diff')
-rw-r--r-- | tool/patches/MachineExceptions.diff | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tool/patches/MachineExceptions.diff b/tool/patches/MachineExceptions.diff new file mode 100644 index 000000000..ad29c21a4 --- /dev/null +++ b/tool/patches/MachineExceptions.diff @@ -0,0 +1,63 @@ +--- /usr/include/CarbonCore/MachineExceptions.h 2006-09-11 23:05:25.000000000 -0500 ++++ /usr/include/CarbonCore/MachineExceptions.h 2007-07-23 18:15:13.000000000 -0500 +@@ -277,6 +277,60 @@ + typedef struct ExceptionInformation ExceptionInformation; + #endif /* TARGET_CPU_X86 */ + ++#if TARGET_CPU_ARM ++ ++struct MachineInformationARM { ++ int unused; ++}; ++typedef struct MachineInformationARM MachineInformationARM; ++ ++struct RegisterInformationARM { ++ unsigned int R0; ++ unsigned int R1; ++ unsigned int R2; ++ unsigned int R3; ++ unsigned int R4; ++ unsigned int R5; ++ unsigned int R6; ++ unsigned int R7; ++ unsigned int R8; ++ unsigned int R9; ++ unsigned int R10; ++ unsigned int R11; ++ unsigned int R12; ++ unsigned int R13; ++ unsigned int R14; ++ unsigned int R15; ++ unsigned int R16; ++ unsigned int R17; ++}; ++typedef struct RegisterInformationARM RegisterInformationARM; ++ ++struct FPUInformationARM { ++ unsigned int dunno; /* FIXME */ ++}; ++typedef struct FPUInformationARM FPUInformationARM; ++ ++struct VectorInformationARM { ++ unsigned int dunno[8]; ++}; ++typedef struct VectorInformationARM VectorInformationARM; ++ ++typedef MachineInformationARM MachineInformation; ++typedef RegisterInformationARM RegisterInformation; ++typedef FPUInformationARM FPUInformation; ++typedef VectorInformationARM VectorInformation; ++struct ExceptionInformation { ++ ExceptionKind theKind; ++ MachineInformation * machineState; ++ RegisterInformation * registerImage; ++ FPUInformation * FPUImage; ++ ExceptionInfo info; ++ VectorInformation * vectorImage; ++}; ++typedef struct ExceptionInformation ExceptionInformation; ++#endif ++ + /* + Note: An ExceptionHandler is NOT a UniversalProcPtr, except in Carbon. + It must be a PowerPC function pointer with NO routine descriptor, |