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
dba8d3c3
Commit
dba8d3c3
authored
May 11, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Remove context definitions for obsolete platforms.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
430145e4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
659 deletions
+6
-659
memory.c
dlls/kernelbase/memory.c
+3
-3
winnt.h
include/winnt.h
+3
-650
winternl.h
include/winternl.h
+0
-6
No files found.
dlls/kernelbase/memory.c
View file @
dba8d3c3
...
...
@@ -1430,7 +1430,7 @@ BOOL WINAPI GetXStateFeaturesMask( CONTEXT *context, DWORD64 *feature_mask )
*/
void
*
WINAPI
LocateXStateFeature
(
CONTEXT
*
context
,
DWORD
feature_id
,
DWORD
*
length
)
{
if
(
!
(
context
->
ContextFlags
&
CONTEXT_
X
86
))
if
(
!
(
context
->
ContextFlags
&
CONTEXT_
i3
86
))
return
NULL
;
if
(
feature_id
>=
2
)
...
...
@@ -1456,7 +1456,7 @@ void * WINAPI LocateXStateFeature( CONTEXT *context, DWORD feature_id, DWORD *le
*/
BOOL
WINAPI
SetXStateFeaturesMask
(
CONTEXT
*
context
,
DWORD64
feature_mask
)
{
if
(
!
(
context
->
ContextFlags
&
CONTEXT_
X
86
))
if
(
!
(
context
->
ContextFlags
&
CONTEXT_
i3
86
))
return
FALSE
;
if
(
feature_mask
&
0x3
)
...
...
@@ -1474,7 +1474,7 @@ BOOL WINAPI SetXStateFeaturesMask( CONTEXT *context, DWORD64 feature_mask )
*/
BOOL
WINAPI
GetXStateFeaturesMask
(
CONTEXT
*
context
,
DWORD64
*
feature_mask
)
{
if
(
!
(
context
->
ContextFlags
&
CONTEXT_
X
86
))
if
(
!
(
context
->
ContextFlags
&
CONTEXT_
i3
86
))
return
FALSE
;
*
feature_mask
=
(
context
->
ContextFlags
&
CONTEXT_EXTENDED_REGISTERS
)
==
CONTEXT_EXTENDED_REGISTERS
...
...
include/winnt.h
View file @
dba8d3c3
...
...
@@ -369,7 +369,7 @@ extern "C" {
/* Alignment macros */
#if
defined(_WIN64) || (defined(_MSC_VER) && defined(_M_ALPHA)) || defined(__alpha__)
#if
def _WIN64
#define MAX_NATURAL_ALIGNMENT sizeof(ULONGLONG)
#define MEMORY_ALLOCATION_ALIGNMENT 16
#else
...
...
@@ -1047,9 +1047,8 @@ typedef struct _CONTEXT
BYTE
ExtendedRegisters
[
MAXIMUM_SUPPORTED_EXTENSION
];
/* 0xcc */
}
CONTEXT
,
*
PCONTEXT
;
#define CONTEXT_X86 0x00010000
#define CONTEXT_i386 CONTEXT_X86
#define CONTEXT_i486 CONTEXT_X86
#define CONTEXT_i386 0x00010000
#define CONTEXT_i486 0x00010000
#define CONTEXT_CONTROL (CONTEXT_i386 | 0x0001)
/* SS:SP, CS:IP, FLAGS, BP */
#define CONTEXT_INTEGER (CONTEXT_i386 | 0x0002)
/* AX, BX, CX, DX, SI, DI */
...
...
@@ -1416,419 +1415,6 @@ typedef struct _CONTEXT_EX
#endif
}
CONTEXT_EX
,
*
PCONTEXT_EX
;
/* IA64 context definitions */
#ifdef __ia64__
#define CONTEXT_IA64 0x00080000
#define CONTEXT_CONTROL (CONTEXT_IA64 | 0x00000001)
#define CONTEXT_LOWER_FLOATING_POINT (CONTEXT_IA64 | 0x00000002)
#define CONTEXT_HIGHER_FLOATING_POINT (CONTEXT_IA64 | 0x00000004)
#define CONTEXT_INTEGER (CONTEXT_IA64 | 0x00000008)
#define CONTEXT_DEBUG (CONTEXT_IA64 | 0x00000010)
#define CONTEXT_IA32_CONTROL (CONTEXT_IA64 | 0x00000020)
#define CONTEXT_FLOATING_POINT (CONTEXT_LOWER_FLOATING_POINT | CONTEXT_HIGHER_FLOATING_POINT)
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER | CONTEXT_IA32_CONTROL)
#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER | CONTEXT_DEBUG | CONTEXT_IA32_CONTROL)
#define CONTEXT_EXCEPTION_ACTIVE 0x8000000
#define CONTEXT_SERVICE_ACTIVE 0x10000000
#define CONTEXT_EXCEPTION_REQUEST 0x40000000
#define CONTEXT_EXCEPTION_REPORTING 0x80000000
typedef
struct
_CONTEXT
{
DWORD
ContextFlags
;
DWORD
Fill1
[
3
];
ULONGLONG
DbI0
;
ULONGLONG
DbI1
;
ULONGLONG
DbI2
;
ULONGLONG
DbI3
;
ULONGLONG
DbI4
;
ULONGLONG
DbI5
;
ULONGLONG
DbI6
;
ULONGLONG
DbI7
;
ULONGLONG
DbD0
;
ULONGLONG
DbD1
;
ULONGLONG
DbD2
;
ULONGLONG
DbD3
;
ULONGLONG
DbD4
;
ULONGLONG
DbD5
;
ULONGLONG
DbD6
;
ULONGLONG
DbD7
;
FLOAT128
FltS0
;
FLOAT128
FltS1
;
FLOAT128
FltS2
;
FLOAT128
FltS3
;
FLOAT128
FltT0
;
FLOAT128
FltT1
;
FLOAT128
FltT2
;
FLOAT128
FltT3
;
FLOAT128
FltT4
;
FLOAT128
FltT5
;
FLOAT128
FltT6
;
FLOAT128
FltT7
;
FLOAT128
FltT8
;
FLOAT128
FltT9
;
FLOAT128
FltS4
;
FLOAT128
FltS5
;
FLOAT128
FltS6
;
FLOAT128
FltS7
;
FLOAT128
FltS8
;
FLOAT128
FltS9
;
FLOAT128
FltS10
;
FLOAT128
FltS11
;
FLOAT128
FltS12
;
FLOAT128
FltS13
;
FLOAT128
FltS14
;
FLOAT128
FltS15
;
FLOAT128
FltS16
;
FLOAT128
FltS17
;
FLOAT128
FltS18
;
FLOAT128
FltS19
;
FLOAT128
FltF32
;
FLOAT128
FltF33
;
FLOAT128
FltF34
;
FLOAT128
FltF35
;
FLOAT128
FltF36
;
FLOAT128
FltF37
;
FLOAT128
FltF38
;
FLOAT128
FltF39
;
FLOAT128
FltF40
;
FLOAT128
FltF41
;
FLOAT128
FltF42
;
FLOAT128
FltF43
;
FLOAT128
FltF44
;
FLOAT128
FltF45
;
FLOAT128
FltF46
;
FLOAT128
FltF47
;
FLOAT128
FltF48
;
FLOAT128
FltF49
;
FLOAT128
FltF50
;
FLOAT128
FltF51
;
FLOAT128
FltF52
;
FLOAT128
FltF53
;
FLOAT128
FltF54
;
FLOAT128
FltF55
;
FLOAT128
FltF56
;
FLOAT128
FltF57
;
FLOAT128
FltF58
;
FLOAT128
FltF59
;
FLOAT128
FltF60
;
FLOAT128
FltF61
;
FLOAT128
FltF62
;
FLOAT128
FltF63
;
FLOAT128
FltF64
;
FLOAT128
FltF65
;
FLOAT128
FltF66
;
FLOAT128
FltF67
;
FLOAT128
FltF68
;
FLOAT128
FltF69
;
FLOAT128
FltF70
;
FLOAT128
FltF71
;
FLOAT128
FltF72
;
FLOAT128
FltF73
;
FLOAT128
FltF74
;
FLOAT128
FltF75
;
FLOAT128
FltF76
;
FLOAT128
FltF77
;
FLOAT128
FltF78
;
FLOAT128
FltF79
;
FLOAT128
FltF80
;
FLOAT128
FltF81
;
FLOAT128
FltF82
;
FLOAT128
FltF83
;
FLOAT128
FltF84
;
FLOAT128
FltF85
;
FLOAT128
FltF86
;
FLOAT128
FltF87
;
FLOAT128
FltF88
;
FLOAT128
FltF89
;
FLOAT128
FltF90
;
FLOAT128
FltF91
;
FLOAT128
FltF92
;
FLOAT128
FltF93
;
FLOAT128
FltF94
;
FLOAT128
FltF95
;
FLOAT128
FltF96
;
FLOAT128
FltF97
;
FLOAT128
FltF98
;
FLOAT128
FltF99
;
FLOAT128
FltF100
;
FLOAT128
FltF101
;
FLOAT128
FltF102
;
FLOAT128
FltF103
;
FLOAT128
FltF104
;
FLOAT128
FltF105
;
FLOAT128
FltF106
;
FLOAT128
FltF107
;
FLOAT128
FltF108
;
FLOAT128
FltF109
;
FLOAT128
FltF110
;
FLOAT128
FltF111
;
FLOAT128
FltF112
;
FLOAT128
FltF113
;
FLOAT128
FltF114
;
FLOAT128
FltF115
;
FLOAT128
FltF116
;
FLOAT128
FltF117
;
FLOAT128
FltF118
;
FLOAT128
FltF119
;
FLOAT128
FltF120
;
FLOAT128
FltF121
;
FLOAT128
FltF122
;
FLOAT128
FltF123
;
FLOAT128
FltF124
;
FLOAT128
FltF125
;
FLOAT128
FltF126
;
FLOAT128
FltF127
;
ULONGLONG
StFPSR
;
ULONGLONG
IntGp
;
ULONGLONG
IntT0
;
ULONGLONG
IntT1
;
ULONGLONG
IntS0
;
ULONGLONG
IntS1
;
ULONGLONG
IntS2
;
ULONGLONG
IntS3
;
ULONGLONG
IntV0
;
ULONGLONG
IntT2
;
ULONGLONG
IntT3
;
ULONGLONG
IntT4
;
ULONGLONG
IntSp
;
ULONGLONG
IntTeb
;
ULONGLONG
IntT5
;
ULONGLONG
IntT6
;
ULONGLONG
IntT7
;
ULONGLONG
IntT8
;
ULONGLONG
IntT9
;
ULONGLONG
IntT10
;
ULONGLONG
IntT11
;
ULONGLONG
IntT12
;
ULONGLONG
IntT13
;
ULONGLONG
IntT14
;
ULONGLONG
IntT15
;
ULONGLONG
IntT16
;
ULONGLONG
IntT17
;
ULONGLONG
IntT18
;
ULONGLONG
IntT19
;
ULONGLONG
IntT20
;
ULONGLONG
IntT21
;
ULONGLONG
IntT22
;
ULONGLONG
IntNats
;
ULONGLONG
Preds
;
ULONGLONG
BrRp
;
ULONGLONG
BrS0
;
ULONGLONG
BrS1
;
ULONGLONG
BrS2
;
ULONGLONG
BrS3
;
ULONGLONG
BrS4
;
ULONGLONG
BrT0
;
ULONGLONG
BrT1
;
ULONGLONG
ApUNAT
;
ULONGLONG
ApLC
;
ULONGLONG
ApEC
;
ULONGLONG
ApCCV
;
ULONGLONG
ApDCR
;
ULONGLONG
RsPFS
;
ULONGLONG
RsBSP
;
ULONGLONG
RsBSPSTORE
;
ULONGLONG
RsRSC
;
ULONGLONG
RsRNAT
;
ULONGLONG
StIPSR
;
ULONGLONG
StIIP
;
ULONGLONG
StIFS
;
ULONGLONG
StFCR
;
ULONGLONG
Eflag
;
ULONGLONG
SegCSD
;
ULONGLONG
SegSSD
;
ULONGLONG
Cflag
;
ULONGLONG
StFSR
;
ULONGLONG
StFIR
;
ULONGLONG
StFDR
;
ULONGLONG
UNUSEDPACK
;
}
CONTEXT
,
*
PCONTEXT
;
typedef
struct
_RUNTIME_FUNCTION
{
ULONG
BeginAddress
;
ULONG
EndAddress
;
ULONG
UnwindInfoAddress
;
}
RUNTIME_FUNCTION
,
*
PRUNTIME_FUNCTION
;
typedef
struct
_FRAME_POINTERS
{
ULONGLONG
MemoryStackFp
;
ULONGLONG
BackingStoreFp
;
}
FRAME_POINTERS
,
*
PFRAME_POINTERS
;
#define UNWIND_HISTORY_TABLE_SIZE 12
typedef
struct
_UNWIND_HISTORY_TABLE_ENTRY
{
ULONG64
ImageBase
;
ULONG64
Gp
;
PRUNTIME_FUNCTION
FunctionEntry
;
}
UNWIND_HISTORY_TABLE_ENTRY
,
*
PUNWIND_HISTORY_TABLE_ENTRY
;
typedef
struct
_UNWIND_HISTORY_TABLE
{
ULONG
Count
;
UCHAR
Search
;
ULONG64
LowAddress
;
ULONG64
HighAddress
;
UNWIND_HISTORY_TABLE_ENTRY
Entry
[
UNWIND_HISTORY_TABLE_SIZE
];
}
UNWIND_HISTORY_TABLE
,
*
PUNWIND_HISTORY_TABLE
;
typedef
struct
_KNONVOLATILE_CONTEXT_POINTERS
{
PFLOAT128
FltS0
;
PFLOAT128
FltS1
;
PFLOAT128
FltS2
;
PFLOAT128
FltS3
;
PFLOAT128
HighFloatingContext
[
10
];
PFLOAT128
FltS4
;
PFLOAT128
FltS5
;
PFLOAT128
FltS6
;
PFLOAT128
FltS7
;
PFLOAT128
FltS8
;
PFLOAT128
FltS9
;
PFLOAT128
FltS10
;
PFLOAT128
FltS11
;
PFLOAT128
FltS12
;
PFLOAT128
FltS13
;
PFLOAT128
FltS14
;
PFLOAT128
FltS15
;
PFLOAT128
FltS16
;
PFLOAT128
FltS17
;
PFLOAT128
FltS18
;
PFLOAT128
FltS19
;
PULONGLONG
IntS0
;
PULONGLONG
IntS1
;
PULONGLONG
IntS2
;
PULONGLONG
IntS3
;
PULONGLONG
IntSp
;
PULONGLONG
IntS0Nat
;
PULONGLONG
IntS1Nat
;
PULONGLONG
IntS2Nat
;
PULONGLONG
IntS3Nat
;
PULONGLONG
IntSpNat
;
PULONGLONG
Preds
;
PULONGLONG
BrRp
;
PULONGLONG
BrS0
;
PULONGLONG
BrS1
;
PULONGLONG
BrS2
;
PULONGLONG
BrS3
;
PULONGLONG
BrS4
;
PULONGLONG
ApUNAT
;
PULONGLONG
ApLC
;
PULONGLONG
ApEC
;
PULONGLONG
RsPFS
;
PULONGLONG
StFSR
;
PULONGLONG
StFIR
;
PULONGLONG
StFDR
;
PULONGLONG
Cflag
;
}
KNONVOLATILE_CONTEXT_POINTERS
,
*
PKNONVOLATILE_CONTEXT_POINTERS
;
NTSYSAPI
ULONGLONG
WINAPI
RtlVirtualUnwind
(
ULONGLONG
,
ULONGLONG
,
RUNTIME_FUNCTION
*
,
CONTEXT
*
,
BOOLEAN
*
,
FRAME_POINTERS
*
,
KNONVOLATILE_CONTEXT_POINTERS
*
);
#endif
/* __ia64__ */
/* Alpha context definitions */
#if defined(_ALPHA_) || defined(__ALPHA__) || defined(__alpha__)
#define CONTEXT_ALPHA 0x00020000
#define CONTEXT_CONTROL (CONTEXT_ALPHA | 0x00000001)
#define CONTEXT_FLOATING_POINT (CONTEXT_ALPHA | 0x00000002)
#define CONTEXT_INTEGER (CONTEXT_ALPHA | 0x00000004)
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER)
#define EXCEPTION_READ_FAULT 0
#define EXCEPTION_WRITE_FAULT 1
#define EXCEPTION_EXECUTE_FAULT 8
typedef
struct
_CONTEXT
{
/* selected by CONTEXT_FLOATING_POINT */
ULONGLONG
FltF0
;
ULONGLONG
FltF1
;
ULONGLONG
FltF2
;
ULONGLONG
FltF3
;
ULONGLONG
FltF4
;
ULONGLONG
FltF5
;
ULONGLONG
FltF6
;
ULONGLONG
FltF7
;
ULONGLONG
FltF8
;
ULONGLONG
FltF9
;
ULONGLONG
FltF10
;
ULONGLONG
FltF11
;
ULONGLONG
FltF12
;
ULONGLONG
FltF13
;
ULONGLONG
FltF14
;
ULONGLONG
FltF15
;
ULONGLONG
FltF16
;
ULONGLONG
FltF17
;
ULONGLONG
FltF18
;
ULONGLONG
FltF19
;
ULONGLONG
FltF20
;
ULONGLONG
FltF21
;
ULONGLONG
FltF22
;
ULONGLONG
FltF23
;
ULONGLONG
FltF24
;
ULONGLONG
FltF25
;
ULONGLONG
FltF26
;
ULONGLONG
FltF27
;
ULONGLONG
FltF28
;
ULONGLONG
FltF29
;
ULONGLONG
FltF30
;
ULONGLONG
FltF31
;
/* selected by CONTEXT_INTEGER */
ULONGLONG
IntV0
;
ULONGLONG
IntT0
;
ULONGLONG
IntT1
;
ULONGLONG
IntT2
;
ULONGLONG
IntT3
;
ULONGLONG
IntT4
;
ULONGLONG
IntT5
;
ULONGLONG
IntT6
;
ULONGLONG
IntT7
;
ULONGLONG
IntS0
;
ULONGLONG
IntS1
;
ULONGLONG
IntS2
;
ULONGLONG
IntS3
;
ULONGLONG
IntS4
;
ULONGLONG
IntS5
;
ULONGLONG
IntFp
;
ULONGLONG
IntA0
;
ULONGLONG
IntA1
;
ULONGLONG
IntA2
;
ULONGLONG
IntA3
;
ULONGLONG
IntA4
;
ULONGLONG
IntA5
;
ULONGLONG
IntT8
;
ULONGLONG
IntT9
;
ULONGLONG
IntT10
;
ULONGLONG
IntT11
;
ULONGLONG
IntRa
;
ULONGLONG
IntT12
;
ULONGLONG
IntAt
;
ULONGLONG
IntGp
;
ULONGLONG
IntSp
;
ULONGLONG
IntZero
;
/* selected by CONTEXT_FLOATING_POINT */
ULONGLONG
Fpcr
;
ULONGLONG
SoftFpcr
;
/* selected by CONTEXT_CONTROL */
ULONGLONG
Fir
;
DWORD
Psr
;
DWORD
ContextFlags
;
DWORD
Fill
[
4
];
}
CONTEXT
,
*
PCONTEXT
;
#define _QUAD_PSR_OFFSET HighSoftFpcr
#define _QUAD_FLAGS_OFFSET HighFir
#endif
/* _ALPHA_ */
#ifdef __arm__
/* The following flags control the contents of the CONTEXT structure. */
...
...
@@ -2163,239 +1749,6 @@ NTSYSAPI PVOID WINAPI RtlVirtualUnwind(DWORD,ULONG_PTR,ULONG_PTR,RUNTIME_FUNCTIO
#endif
/* __aarch64__ */
/* Mips context definitions */
#if defined(_MIPS_) || defined(__MIPS__) || defined(__mips__)
#define CONTEXT_R4000 0x00010000
#define CONTEXT_CONTROL (CONTEXT_R4000 | 0x00000001)
#define CONTEXT_FLOATING_POINT (CONTEXT_R4000 | 0x00000002)
#define CONTEXT_INTEGER (CONTEXT_R4000 | 0x00000004)
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER)
#define EXCEPTION_READ_FAULT 0
#define EXCEPTION_WRITE_FAULT 1
#define EXCEPTION_EXECUTE_FAULT 8
typedef
struct
_CONTEXT
{
DWORD
Argument
[
4
];
/* These are selected by CONTEXT_FLOATING_POINT */
DWORD
FltF0
;
DWORD
FltF1
;
DWORD
FltF2
;
DWORD
FltF3
;
DWORD
FltF4
;
DWORD
FltF5
;
DWORD
FltF6
;
DWORD
FltF7
;
DWORD
FltF8
;
DWORD
FltF9
;
DWORD
FltF10
;
DWORD
FltF11
;
DWORD
FltF12
;
DWORD
FltF13
;
DWORD
FltF14
;
DWORD
FltF15
;
DWORD
FltF16
;
DWORD
FltF17
;
DWORD
FltF18
;
DWORD
FltF19
;
DWORD
FltF20
;
DWORD
FltF21
;
DWORD
FltF22
;
DWORD
FltF23
;
DWORD
FltF24
;
DWORD
FltF25
;
DWORD
FltF26
;
DWORD
FltF27
;
DWORD
FltF28
;
DWORD
FltF29
;
DWORD
FltF30
;
DWORD
FltF31
;
/* These are selected by CONTEXT_INTEGER */
DWORD
IntZero
;
DWORD
IntAt
;
DWORD
IntV0
;
DWORD
IntV1
;
DWORD
IntA0
;
DWORD
IntA1
;
DWORD
IntA2
;
DWORD
IntA3
;
DWORD
IntT0
;
DWORD
IntT1
;
DWORD
IntT2
;
DWORD
IntT3
;
DWORD
IntT4
;
DWORD
IntT5
;
DWORD
IntT6
;
DWORD
IntT7
;
DWORD
IntS0
;
DWORD
IntS1
;
DWORD
IntS2
;
DWORD
IntS3
;
DWORD
IntS4
;
DWORD
IntS5
;
DWORD
IntS6
;
DWORD
IntS7
;
DWORD
IntT8
;
DWORD
IntT9
;
DWORD
IntK0
;
DWORD
IntK1
;
DWORD
IntGp
;
DWORD
IntSp
;
DWORD
IntS8
;
DWORD
IntRa
;
DWORD
IntLo
;
DWORD
IntHi
;
/* These are selected by CONTEXT_FLOATING_POINT */
DWORD
Fsr
;
/* These are selected by CONTEXT_CONTROL */
DWORD
Fir
;
DWORD
Psr
;
DWORD
ContextFlags
;
DWORD
Fill
[
2
];
}
CONTEXT
,
*
PCONTEXT
;
#endif
/* _MIPS_ */
/* PowerPC context definitions */
#ifdef __powerpc__
#define CONTEXT_CONTROL 0x0001
#define CONTEXT_FLOATING_POINT 0x0002
#define CONTEXT_INTEGER 0x0004
#define CONTEXT_DEBUG_REGISTERS 0x0008
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER)
#define EXCEPTION_READ_FAULT 0
#define EXCEPTION_WRITE_FAULT 1
#define EXCEPTION_EXECUTE_FAULT 8
typedef
struct
{
/* These are selected by CONTEXT_FLOATING_POINT */
double
Fpr0
;
double
Fpr1
;
double
Fpr2
;
double
Fpr3
;
double
Fpr4
;
double
Fpr5
;
double
Fpr6
;
double
Fpr7
;
double
Fpr8
;
double
Fpr9
;
double
Fpr10
;
double
Fpr11
;
double
Fpr12
;
double
Fpr13
;
double
Fpr14
;
double
Fpr15
;
double
Fpr16
;
double
Fpr17
;
double
Fpr18
;
double
Fpr19
;
double
Fpr20
;
double
Fpr21
;
double
Fpr22
;
double
Fpr23
;
double
Fpr24
;
double
Fpr25
;
double
Fpr26
;
double
Fpr27
;
double
Fpr28
;
double
Fpr29
;
double
Fpr30
;
double
Fpr31
;
double
Fpscr
;
/* These are selected by CONTEXT_INTEGER */
DWORD
Gpr0
;
DWORD
Gpr1
;
DWORD
Gpr2
;
DWORD
Gpr3
;
DWORD
Gpr4
;
DWORD
Gpr5
;
DWORD
Gpr6
;
DWORD
Gpr7
;
DWORD
Gpr8
;
DWORD
Gpr9
;
DWORD
Gpr10
;
DWORD
Gpr11
;
DWORD
Gpr12
;
DWORD
Gpr13
;
DWORD
Gpr14
;
DWORD
Gpr15
;
DWORD
Gpr16
;
DWORD
Gpr17
;
DWORD
Gpr18
;
DWORD
Gpr19
;
DWORD
Gpr20
;
DWORD
Gpr21
;
DWORD
Gpr22
;
DWORD
Gpr23
;
DWORD
Gpr24
;
DWORD
Gpr25
;
DWORD
Gpr26
;
DWORD
Gpr27
;
DWORD
Gpr28
;
DWORD
Gpr29
;
DWORD
Gpr30
;
DWORD
Gpr31
;
DWORD
Cr
;
DWORD
Xer
;
/* These are selected by CONTEXT_CONTROL */
DWORD
Msr
;
DWORD
Iar
;
/* Instruction Address Register , aka PC ... */
DWORD
Lr
;
DWORD
Ctr
;
DWORD
ContextFlags
;
DWORD
Dar
;
/* Fault registers for coredump */
DWORD
Dsisr
;
DWORD
Trap
;
/* number of powerpc exception taken */
/* These are selected by CONTEXT_DEBUG_REGISTERS */
DWORD
Dr0
;
DWORD
Dr1
;
DWORD
Dr2
;
DWORD
Dr3
;
DWORD
Dr4
;
DWORD
Dr5
;
DWORD
Dr6
;
DWORD
Dr7
;
}
CONTEXT
,
*
PCONTEXT
;
typedef
struct
_STACK_FRAME_HEADER
{
DWORD
BackChain
;
DWORD
GlueSaved1
;
DWORD
GlueSaved2
;
DWORD
Reserved1
;
DWORD
Spare1
;
DWORD
Spare2
;
DWORD
Parameter0
;
DWORD
Parameter1
;
DWORD
Parameter2
;
DWORD
Parameter3
;
DWORD
Parameter4
;
DWORD
Parameter5
;
DWORD
Parameter6
;
DWORD
Parameter7
;
}
STACK_FRAME_HEADER
,
*
PSTACK_FRAME_HEADER
;
#endif
/* __powerpc__ */
#if !defined(CONTEXT_FULL) && !defined(RC_INVOKED)
#error You need to define a CONTEXT for your CPU
#endif
...
...
include/winternl.h
View file @
dba8d3c3
...
...
@@ -4221,12 +4221,6 @@ NTSYSAPI NTSTATUS WINAPI RtlUnicodeToUTF8N(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD);
NTSYSAPI
ULONG
WINAPI
RtlUniform
(
PULONG
);
NTSYSAPI
BOOLEAN
WINAPI
RtlUnlockHeap
(
HANDLE
);
NTSYSAPI
void
WINAPI
RtlUnwind
(
PVOID
,
PVOID
,
PEXCEPTION_RECORD
,
PVOID
);
#ifdef __x86_64__
NTSYSAPI
void
WINAPI
RtlUnwindEx
(
PVOID
,
PVOID
,
PEXCEPTION_RECORD
,
PVOID
,
PCONTEXT
,
PUNWIND_HISTORY_TABLE
);
#elif defined(__ia64__)
NTSYSAPI
void
WINAPI
RtlUnwind2
(
FRAME_POINTERS
,
PVOID
,
PEXCEPTION_RECORD
,
PVOID
,
PCONTEXT
);
NTSYSAPI
void
WINAPI
RtlUnwindEx
(
FRAME_POINTERS
,
PVOID
,
PEXCEPTION_RECORD
,
PVOID
,
PCONTEXT
,
PUNWIND_HISTORY_TABLE
);
#endif
NTSYSAPI
WCHAR
WINAPI
RtlUpcaseUnicodeChar
(
WCHAR
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeString
(
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeStringToAnsiString
(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
...
...
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