Browse Source

+ added now that the iOS SDK files aren't under NDA anymore

git-svn-id: trunk@25788 -
Jonas Maebe 11 years ago
parent
commit
2b1a077b98
2 changed files with 42 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 41 0
      rtl/darwin/arm/sig_cpu.inc

+ 1 - 0
.gitattributes

@@ -7619,6 +7619,7 @@ rtl/charmaps/cp950.pas svneol=native#text/pascal
 rtl/charmaps/cpall.pas svneol=native#text/pascal
 rtl/darwin/Makefile svneol=native#text/plain
 rtl/darwin/Makefile.fpc svneol=native#text/plain
+rtl/darwin/arm/sig_cpu.inc svneol=native#text/plain
 rtl/darwin/arm/sighnd.inc svneol=native#text/plain
 rtl/darwin/console.pp svneol=native#text/plain
 rtl/darwin/errno.inc svneol=native#text/plain

+ 41 - 0
rtl/darwin/arm/sig_cpu.inc

@@ -0,0 +1,41 @@
+
+{$IFDEF FPC}
+{$PACKRECORDS C}
+{$ENDIF}
+
+
+
+  type
+     __darwin_arm_exception_state = record
+          __exception : cuint32;
+          __fsr : cuint32;
+          __far : cuint32;
+       end;
+
+     __darwin_arm_thread_state = record
+          __r : array[0..12] of cuint32;
+          __sp : cuint32;
+          __lr : cuint32;
+          __pc : cuint32;
+          __cpsr : cuint32;
+       end;
+
+     __darwin_arm_vfp_state = record
+          __r : array[0..63] of cuint32;
+          __fpscr : cuint32;
+       end;
+
+     __darwin_arm_debug_state = record
+          __bvr : array[0..15] of cuint32;
+          __bcr : array[0..15] of cuint32;
+          __wvr : array[0..15] of cuint32;
+          __wcr : array[0..15] of cuint32;
+       end;
+
+     mcontext_t = record
+          __es : __darwin_arm_exception_state;
+          __ss : __darwin_arm_thread_state;
+          __fs : __darwin_arm_vfp_state;
+       end;
+
+