Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4e5f1633
Commit
4e5f1633
authored
Jun 06, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some WOW64 definitions.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8d540ec7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
1 deletion
+69
-1
winnt.h
include/winnt.h
+69
-1
No files found.
include/winnt.h
View file @
4e5f1633
...
...
@@ -995,7 +995,7 @@ typedef struct _LDT_ENTRY {
unsigned
BaseHi
:
8
;
}
Bits
;
}
HighWord
;
}
LDT_ENTRY
,
*
PLDT_ENTRY
;
}
LDT_ENTRY
,
*
PLDT_ENTRY
,
WOW64_LDT_ENTRY
,
*
PWOW64_LDT_ENTRY
;
/* x86-64 context definitions */
#if defined(__x86_64__)
...
...
@@ -2112,6 +2112,74 @@ typedef CONTEXT *PCONTEXT;
NTSYSAPI
void
WINAPI
RtlCaptureContext
(
CONTEXT
*
);
#define WOW64_CONTEXT_i386 0x00010000
#define WOW64_CONTEXT_i486 0x00010000
#define WOW64_CONTEXT_CONTROL (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000001))
#define WOW64_CONTEXT_INTEGER (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000002))
#define WOW64_CONTEXT_SEGMENTS (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000004))
#define WOW64_CONTEXT_FLOATING_POINT (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000008))
#define WOW64_CONTEXT_DEBUG_REGISTERS (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000010))
#define WOW64_CONTEXT_EXTENDED_REGISTERS (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000020))
#define WOW64_CONTEXT_FULL (WOW64_CONTEXT_CONTROL | WOW64_CONTEXT_INTEGER | WOW64_CONTEXT_SEGMENTS)
#define WOW64_CONTEXT_ALL (WOW64_CONTEXT_CONTROL | WOW64_CONTEXT_INTEGER | \
WOW64_CONTEXT_SEGMENTS | WOW64_CONTEXT_FLOATING_POINT | \
WOW64_CONTEXT_DEBUG_REGISTERS | WOW64_CONTEXT_EXTENDED_REGISTERS)
#define WOW64_CONTEXT_XSTATE (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000040))
#define WOW64_CONTEXT_EXCEPTION_ACTIVE 0x08000000
#define WOW64_CONTEXT_SERVICE_ACTIVE 0x10000000
#define WOW64_CONTEXT_EXCEPTION_REQUEST 0x40000000
#define WOW64_CONTEXT_EXCEPTION_REPORTING 0x80000000
#define WOW64_SIZE_OF_80387_REGISTERS 80
#define WOW64_MAXIMUM_SUPPORTED_EXTENSION 512
typedef
struct
_WOW64_FLOATING_SAVE_AREA
{
DWORD
ControlWord
;
DWORD
StatusWord
;
DWORD
TagWord
;
DWORD
ErrorOffset
;
DWORD
ErrorSelector
;
DWORD
DataOffset
;
DWORD
DataSelector
;
BYTE
RegisterArea
[
WOW64_SIZE_OF_80387_REGISTERS
];
DWORD
Cr0NpxState
;
}
WOW64_FLOATING_SAVE_AREA
,
*
PWOW64_FLOATING_SAVE_AREA
;
#include "pshpack4.h"
typedef
struct
_WOW64_CONTEXT
{
DWORD
ContextFlags
;
DWORD
Dr0
;
DWORD
Dr1
;
DWORD
Dr2
;
DWORD
Dr3
;
DWORD
Dr6
;
DWORD
Dr7
;
WOW64_FLOATING_SAVE_AREA
FloatSave
;
DWORD
SegGs
;
DWORD
SegFs
;
DWORD
SegEs
;
DWORD
SegDs
;
DWORD
Edi
;
DWORD
Esi
;
DWORD
Ebx
;
DWORD
Edx
;
DWORD
Ecx
;
DWORD
Eax
;
DWORD
Ebp
;
DWORD
Eip
;
DWORD
SegCs
;
DWORD
EFlags
;
DWORD
Esp
;
DWORD
SegSs
;
BYTE
ExtendedRegisters
[
WOW64_MAXIMUM_SUPPORTED_EXTENSION
];
}
WOW64_CONTEXT
,
*
PWOW64_CONTEXT
;
#include "poppack.h"
/*
* Product types
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment