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
41454fe1
Commit
41454fe1
authored
Oct 20, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Get rid of the non-standard CONTEXT86 type.
parent
1b260438
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
35 deletions
+15
-35
winbase16.h
include/wine/winbase16.h
+1
-1
winnt.h
include/winnt.h
+14
-34
No files found.
include/wine/winbase16.h
View file @
41454fe1
...
...
@@ -492,7 +492,7 @@ BOOL16 WINAPI GlobalUnlock16(HGLOBAL16);
BOOL16
WINAPI
GlobalUnWire16
(
HGLOBAL16
);
SEGPTR
WINAPI
GlobalWire16
(
HGLOBAL16
);
WORD
WINAPI
InitAtomTable16
(
WORD
);
void
WINAPI
InitTask16
(
CONTEXT
86
*
);
void
WINAPI
InitTask16
(
CONTEXT
*
);
BOOL16
WINAPI
IsBadCodePtr16
(
SEGPTR
);
BOOL16
WINAPI
IsBadHugeReadPtr16
(
SEGPTR
,
DWORD
);
BOOL16
WINAPI
IsBadHugeWritePtr16
(
SEGPTR
,
DWORD
);
...
...
include/winnt.h
View file @
41454fe1
...
...
@@ -746,15 +746,6 @@ typedef enum _HEAP_INFORMATION_CLASS {
/* The Win32 register context */
/* CONTEXT is the CPU-dependent context; it should be used */
/* wherever a platform-specific context is needed (e.g. exception */
/* handling, Win32 register functions). */
/* CONTEXT86 is the i386-specific context; it should be used */
/* wherever only a 386 context makes sense (e.g. DOS interrupts, */
/* Win16 register functions), so that this code can be compiled */
/* on all platforms. */
#define SIZE_OF_80387_REGISTERS 80
typedef
struct
_FLOATING_SAVE_AREA
...
...
@@ -770,9 +761,12 @@ typedef struct _FLOATING_SAVE_AREA
DWORD
Cr0NpxState
;
}
FLOATING_SAVE_AREA
,
*
PFLOATING_SAVE_AREA
;
/* i386 context definitions */
#ifdef __i386__
#define MAXIMUM_SUPPORTED_EXTENSION 512
typedef
struct
_CONTEXT
86
typedef
struct
_CONTEXT
{
DWORD
ContextFlags
;
...
...
@@ -810,35 +804,21 @@ typedef struct _CONTEXT86
DWORD
SegSs
;
BYTE
ExtendedRegisters
[
MAXIMUM_SUPPORTED_EXTENSION
];
}
CONTEXT
86
;
}
CONTEXT
;
#define CONTEXT_X86 0x00010000
#define CONTEXT_i386 CONTEXT_X86
#define CONTEXT_i486 CONTEXT_X86
#define CONTEXT86_CONTROL (CONTEXT_i386 | 0x0001)
/* SS:SP, CS:IP, FLAGS, BP */
#define CONTEXT86_INTEGER (CONTEXT_i386 | 0x0002)
/* AX, BX, CX, DX, SI, DI */
#define CONTEXT86_SEGMENTS (CONTEXT_i386 | 0x0004)
/* DS, ES, FS, GS */
#define CONTEXT86_FLOATING_POINT (CONTEXT_i386 | 0x0008L)
/* 387 state */
#define CONTEXT86_DEBUG_REGISTERS (CONTEXT_i386 | 0x0010L)
/* DB 0-3,6,7 */
#define CONTEXT86_EXTENDED_REGISTERS (CONTEXT_i386 | 0x0020L)
#define CONTEXT86_FULL (CONTEXT86_CONTROL | CONTEXT86_INTEGER | CONTEXT86_SEGMENTS)
#define CONTEXT86_ALL (CONTEXT86_CONTROL | CONTEXT86_INTEGER | CONTEXT86_SEGMENTS | \
CONTEXT86_FLOATING_POINT | CONTEXT86_DEBUG_REGISTERS | CONTEXT86_EXTENDED_REGISTERS)
/* i386 context definitions */
#ifdef __i386__
#define CONTEXT_CONTROL CONTEXT86_CONTROL
#define CONTEXT_INTEGER CONTEXT86_INTEGER
#define CONTEXT_SEGMENTS CONTEXT86_SEGMENTS
#define CONTEXT_FLOATING_POINT CONTEXT86_FLOATING_POINT
#define CONTEXT_DEBUG_REGISTERS CONTEXT86_DEBUG_REGISTERS
#define CONTEXT_EXTENDED_REGISTERS CONTEXT86_EXTENDED_REGISTERS
#define CONTEXT_FULL CONTEXT86_FULL
#define CONTEXT_ALL CONTEXT86_ALL
typedef
CONTEXT86
CONTEXT
;
#define CONTEXT_CONTROL (CONTEXT_i386 | 0x0001)
/* SS:SP, CS:IP, FLAGS, BP */
#define CONTEXT_INTEGER (CONTEXT_i386 | 0x0002)
/* AX, BX, CX, DX, SI, DI */
#define CONTEXT_SEGMENTS (CONTEXT_i386 | 0x0004)
/* DS, ES, FS, GS */
#define CONTEXT_FLOATING_POINT (CONTEXT_i386 | 0x0008L)
/* 387 state */
#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386 | 0x0010L)
/* DB 0-3,6,7 */
#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386 | 0x0020L)
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS)
#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | \
CONTEXT_FLOATING_POINT | CONTEXT_DEBUG_REGISTERS | CONTEXT_EXTENDED_REGISTERS)
#define EXCEPTION_READ_FAULT 0
#define EXCEPTION_WRITE_FAULT 1
...
...
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