mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Add ExtendedRegisters to CONTEXT_X86, CONTEXT_EXTENDED_REGISTERS and MAXIMUM_SUPPORTED_EXTENSIONS defines.
I just hope I don't break anything! svn path=/trunk/; revision=11564
This commit is contained in:
parent
068b78cfc6
commit
fc99b33d66
1 changed files with 11 additions and 6 deletions
|
@ -274,8 +274,11 @@ typedef unsigned short *PRTL_ATOM;
|
|||
#define CONTEXT_SEGMENTS (CONTEXT_i386 | 4)
|
||||
#define CONTEXT_FLOATING_POINT (CONTEXT_i386 | 8)
|
||||
#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386 | 0x10)
|
||||
#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386 | 0x20)
|
||||
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS)
|
||||
|
||||
#define MAXIMUM_SUPPORTED_EXTENSION 512
|
||||
|
||||
#endif /* !__USE_W32API */
|
||||
|
||||
/* our own invention */
|
||||
|
@ -315,6 +318,8 @@ typedef struct _CONTEXT_X86
|
|||
DWORD EFlags;
|
||||
DWORD Esp;
|
||||
DWORD SegSs;
|
||||
|
||||
BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION];
|
||||
} CONTEXT_X86, *PCONTEXT_X86, *LPCONTEXT_X86;
|
||||
|
||||
typedef struct _CONTEXT_PPC
|
||||
|
|
Loading…
Reference in a new issue