aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-11-21 23:13:59 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-11-21 23:13:59 +0000
commit87f1a487ed37689e26330f8ec1d1222d753bcc71 (patch)
tree6a1538d03118ec438f197e85e4fb261d0a1ce3eb
parent1d3dc11398e9fdec001f05fb48d72f0c1f07bc77 (diff)
downloadnewlib-87f1a487ed37689e26330f8ec1d1222d753bcc71.zip
newlib-87f1a487ed37689e26330f8ec1d1222d753bcc71.tar.gz
newlib-87f1a487ed37689e26330f8ec1d1222d753bcc71.tar.bz2
Patch by Pierre Muller <muller@ics.u-strasbg.fr>:
* w32api/include/winnt.h: prepare SSE register support. (CONTEXT_EXTENDED_REGISTERS): Add new define. (MAXIMUM_SUPPORTED_EXTENSION): New define. (struct CONTEXT): ExtendedRegisters field added.
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/winnt.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 35d39c5..5f46d89 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,10 @@
+2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * w32api/include/winnt.h: prepare SSE register support.
+ (CONTEXT_EXTENDED_REGISTERS): Add new define.
+ (MAXIMUM_SUPPORTED_EXTENSION): New define.
+ (struct CONTEXT): ExtendedRegisters field added.
+
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index ec7c810..1a21d8f 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -1190,7 +1190,9 @@ typedef struct _ACL_SIZE_INFORMATION {
#define CONTEXT_SEGMENTS (CONTEXT_i386|0x00000004L)
#define CONTEXT_FLOATING_POINT (CONTEXT_i386|0x00000008L)
#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386|0x00000010L)
+#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386|0x00000020L)
#define CONTEXT_FULL (CONTEXT_CONTROL|CONTEXT_INTEGER|CONTEXT_SEGMENTS)
+#define MAXIMUM_SUPPORTED_EXTENSION 512
typedef struct _FLOATING_SAVE_AREA {
DWORD ControlWord;
DWORD StatusWord;
@@ -1227,6 +1229,7 @@ typedef struct _CONTEXT {
DWORD EFlags;
DWORD Esp;
DWORD SegSs;
+ BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION];
} CONTEXT;
#elif defined(_PPC_)
#define CONTEXT_CONTROL 1L