Am 05.05.2014 22:17, schrieb André Hentschel:
> Please review, i'll commit it. (most likely i'll split it up into individual
> patches, if that's ok)
Sorry, now with the correct changes attached
Index: mingw-w64-headers/include/winnt.h
===================================================================
--- mingw-w64-headers/include/winnt.h (Revision 6606)
+++ mingw-w64-headers/include/winnt.h (Arbeitskopie)
@@ -256,7 +256,11 @@
#endif
#endif /* FASTCALL */
+#if defined(_ARM_)
+#define NTAPI
+#else
#define NTAPI __stdcall
+#endif
#define NTAPI_INLINE NTAPI
#if !defined(_NTSYSTEM_)
@@ -1870,9 +1874,10 @@
DWORD Wcr[ARM_MAX_WATCHPOINTS];
DWORD Padding2[2];
- } CONTEXT;
+ } CONTEXT, *PCONTEXT;
typedef struct _IMAGE_ARM_RUNTIME_FUNCTION_ENTRY RUNTIME_FUNCTION, *PRUNTIME_FUNCTION;
+ typedef PRUNTIME_FUNCTION (*PGET_RUNTIME_FUNCTION_CALLBACK)(DWORD64 ControlPc,PVOID Context);
#define UNW_FLAG_NHANDLER 0x0
#define UNW_FLAG_EHANDLER 0x1
@@ -1896,6 +1901,26 @@
UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE];
} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE;
+ typedef struct _KNONVOLATILE_CONTEXT_POINTERS {
+ PDWORD R4;
+ PDWORD R5;
+ PDWORD R6;
+ PDWORD R7;
+ PDWORD R8;
+ PDWORD R9;
+ PDWORD R10;
+ PDWORD R11;
+ PDWORD Lr;
+ PULONGLONG D8;
+ PULONGLONG D9;
+ PULONGLONG D10;
+ PULONGLONG D11;
+ PULONGLONG D12;
+ PULONGLONG D13;
+ PULONGLONG D14;
+ PULONGLONG D15;
+ } KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS;
+
#define OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK_EXPORT_NAME "OutOfProcessFunctionTableCallback"
#endif /* _ARM_ */
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public