ReactOS  0.4.15-dev-4917-g934e521
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 
35 NTAPI
37 
38 #define DbgRaiseAssertionFailure() __break(0xf001)
39 
41 $if (_NTDDK_)
42 
43 #define ARM64_MAX_BREAKPOINTS 8
44 #define ARM64_MAX_WATCHPOINTS 2
45 
46 typedef union NEON128 {
47  struct {
48  ULONGLONG Low;
49  LONGLONG High;
51  double D[2];
52  float S[4];
53  USHORT H[8];
54  UCHAR B[16];
55 } NEON128, *PNEON128;
57 
58 typedef struct _CONTEXT {
59 
60  //
61  // Control flags.
62  //
63 
65 
66  //
67  // Integer registers
68  //
69 
70  ULONG Cpsr;
71  union {
72  struct {
104  } DUMMYSTRUCTNAME;
105  ULONG64 X[31];
106  } DUMMYUNIONNAME;
107 
110 
111  //
112  // Floating Point/NEON Registers
113  //
114 
115  NEON128 V[32];
118 
119  //
120  // Debug registers
121  //
122 
127 
128 } CONTEXT, *PCONTEXT;
129 $endif
ULONG64 X25
Definition: ke.h:98
Definition: ehthrow.cxx:53
ULONG64 X10
Definition: ke.h:83
ULONG64 Fp
Definition: ke.h:102
struct _CONTEXT::@3716::@3717 DUMMYSTRUCTNAME
#define ARM64_MAX_WATCHPOINTS
ULONG64 X9
Definition: ke.h:82
$if(_WDMDDK_) typedef struct _KFLOATING_SAVE
Definition: ke.h:1
ULONG64 X18
Definition: ke.h:91
ULONG64 X22
Definition: ke.h:95
#define _WDMDDK_
Definition: wdm.template.h:26
Definition: strmini.h:380
ULONG64 X28
Definition: ke.h:101
ULONG64 X16
Definition: ke.h:89
union _CONTEXT::@3707 DUMMYUNIONNAME
Definition: movable.cpp:7
#define NTSYSAPI
Definition: ntoskrnl.h:12
ULONG64 Pc
Definition: ke.h:109
ULONG64 X8
Definition: ke.h:81
NEON128 NEON128
Definition: ke.h:56
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
ULONG64 X26
Definition: ke.h:99
ULONG64 X21
Definition: ke.h:94
FORCEINLINE PRKTHREAD KeGetCurrentThread(VOID)
Definition: ke.h:355
ULONG64 X12
Definition: ke.h:85
ULONG64 X6
Definition: ke.h:79
ULONG64 X3
Definition: ke.h:76
struct _CONTEXT * PCONTEXT
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
ULONG Wcr[ARM_MAX_WATCHPOINTS]
Definition: ke.h:288
ULONG64 X27
Definition: ke.h:100
ULONG ContextFlags
Definition: nt_native.h:1426
ULONG64 X20
Definition: ke.h:93
int64_t LONGLONG
Definition: typedefs.h:68
ULONG Fpsr
Definition: ke.h:117
ULONG64 X19
Definition: ke.h:92
uint64_t ULONGLONG
Definition: typedefs.h:67
ULONG Bvr[ARM_MAX_BREAKPOINTS]
Definition: ke.h:285
#define D(d)
Definition: builtin.c:4557
ULONG64 X13
Definition: ke.h:86
ULONG64 X7
Definition: ke.h:80
ULONG64 X23
Definition: ke.h:96
Definition: strmini.h:378
unsigned __int64 ULONG64
Definition: imports.h:198
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _CONTEXT CONTEXT
ULONG64 X5
Definition: ke.h:78
ULONG Fpcr
Definition: ke.h:116
ULONG64 X17
Definition: ke.h:90
unsigned short USHORT
Definition: pedump.c:61
ULONG64 X0
Definition: ke.h:73
ULONG Cpsr
Definition: ke.h:272
ULONG64 X14
Definition: ke.h:87
ULONG Wvr[ARM_MAX_WATCHPOINTS]
Definition: ke.h:287
ULONG64 X24
Definition: ke.h:97
ULONG64 X15
Definition: ke.h:88
ULONG64 X2
Definition: ke.h:75
ULONG64 X4
Definition: ke.h:77
unsigned int ULONG
Definition: retypes.h:1
NEON128 * PNEON128
Definition: ke.h:56
ULONG Bcr[ARM_MAX_BREAKPOINTS]
Definition: ke.h:286
ULONG64 Lr
Definition: ke.h:103
ULONG64 X1
Definition: ke.h:74
ULONG64 X11
Definition: ke.h:84
#define DUMMYSTRUCTNAME
Definition: ntbasedef.h:58
#define _NTDDK_
#define H
#define ARM64_MAX_BREAKPOINTS
ULONG64 Sp
Definition: ke.h:108