ReactOS 0.4.15-dev-5667-ged97270
ke.h
Go to the documentation of this file.
4/* Interrupt request levels */
5#define PASSIVE_LEVEL 0
6#define LOW_LEVEL 0
7#define APC_LEVEL 1
8#define DISPATCH_LEVEL 2
9#define CLOCK_LEVEL 13
10#define IPI_LEVEL 14
11#define DRS_LEVEL 14
12#define POWER_LEVEL 14
13#define PROFILE_LEVEL 15
14#define HIGH_LEVEL 15
15
16#define SharedUserData ((KUSER_SHARED_DATA * const)KI_USER_SHARED_DATA)
17
18#define PAGE_SIZE 0x1000
19#define PAGE_SHIFT 12L
20
21#define PAUSE_PROCESSOR YieldProcessor();
22
23/* FIXME: Based on AMD64 but needed to compile apps */
24#define KERNEL_STACK_SIZE 12288
25#define KERNEL_LARGE_STACK_SIZE 61440
26#define KERNEL_LARGE_STACK_COMMIT KERNEL_STACK_SIZE
27/* FIXME End */
28
29#define EXCEPTION_READ_FAULT 0
30#define EXCEPTION_WRITE_FAULT 1
31#define EXCEPTION_EXECUTE_FAULT 8
32
37
38#define DbgRaiseAssertionFailure() __break(0xf001)
39
42
43#define ARM64_MAX_BREAKPOINTS 8
44#define ARM64_MAX_WATCHPOINTS 2
45
46typedef union NEON128 {
47 struct {
51 double D[2];
52 float S[4];
53 USHORT H[8];
54 UCHAR B[16];
57
58typedef struct _CONTEXT {
59
60 //
61 // Control flags.
62 //
63
65
66 //
67 // Integer registers
68 //
69
70 ULONG Cpsr;
71 union {
72 struct {
107
110
111 //
112 // Floating Point/NEON Registers
113 //
114
118
119 //
120 // Debug registers
121 //
122
127
129$endif
#define NTSYSAPI
Definition: ntoskrnl.h:12
#define D(d)
Definition: builtin.c:4557
Definition: ehthrow.cxx:54
#define KeGetCurrentThread
Definition: hal.h:55
unsigned __int64 ULONG64
Definition: imports.h:198
#define H
#define DUMMYSTRUCTNAME
Definition: ntbasedef.h:58
#define _NTDDK_
unsigned short USHORT
Definition: pedump.c:61
$if(_WDMDDK_) typedef struct _KFLOATING_SAVE
Definition: ke.h:1
CONTEXT
Definition: ke.h:284
NEON128 NEON128
Definition: ke.h:56
#define ARM64_MAX_WATCHPOINTS
#define ARM64_MAX_BREAKPOINTS
struct _CONTEXT * PCONTEXT
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
NEON128
Definition: ke.h:229
* PNEON128
Definition: ke.h:229
@ High
Definition: strmini.h:378
@ Low
Definition: strmini.h:380
Definition: movable.cpp:9
ULONG64 X27
Definition: ke.h:100
ULONG Wcr[ARM_MAX_WATCHPOINTS]
Definition: ke.h:288
ULONG Cpsr
Definition: ke.h:272
ULONG64 Pc
Definition: ke.h:109
ULONG64 X0
Definition: ke.h:73
ULONG64 X23
Definition: ke.h:96
ULONG64 X4
Definition: ke.h:77
ULONG64 X22
Definition: ke.h:95
ULONG64 X15
Definition: ke.h:88
ULONG Wvr[ARM_MAX_WATCHPOINTS]
Definition: ke.h:287
ULONG64 X5
Definition: ke.h:78
ULONG64 X20
Definition: ke.h:93
ULONG64 X10
Definition: ke.h:83
ULONG64 X28
Definition: ke.h:101
ULONG64 X24
Definition: ke.h:97
ULONG ContextFlags
Definition: nt_native.h:1426
ULONG Bcr[ARM_MAX_BREAKPOINTS]
Definition: ke.h:286
ULONG64 X18
Definition: ke.h:91
ULONG64 Lr
Definition: ke.h:103
ULONG64 X14
Definition: ke.h:87
ULONG64 X26
Definition: ke.h:99
ULONG64 X6
Definition: ke.h:79
ULONG Fpcr
Definition: ke.h:116
ULONG64 X13
Definition: ke.h:86
ULONG64 X12
Definition: ke.h:85
ULONG64 X17
Definition: ke.h:90
ULONG Fpsr
Definition: ke.h:117
ULONG64 X1
Definition: ke.h:74
ULONG64 Sp
Definition: ke.h:108
ULONG64 X9
Definition: ke.h:82
struct _CONTEXT::@3730::@3731 DUMMYSTRUCTNAME
ULONG64 X2
Definition: ke.h:75
ULONG64 X16
Definition: ke.h:89
ULONG64 X25
Definition: ke.h:98
ULONG64 X7
Definition: ke.h:80
ULONG Bvr[ARM_MAX_BREAKPOINTS]
Definition: ke.h:285
ULONG64 X3
Definition: ke.h:76
ULONG64 X11
Definition: ke.h:84
ULONG64 X19
Definition: ke.h:92
ULONG64 Fp
Definition: ke.h:102
ULONG64 X8
Definition: ke.h:81
ULONG64 X21
Definition: ke.h:94
union _CONTEXT::@3721 DUMMYUNIONNAME
int64_t LONGLONG
Definition: typedefs.h:68
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
#define _WDMDDK_
Definition: wdm.template.h:26
unsigned char UCHAR
Definition: xmlstorage.h:181