ReactOS 0.4.15-dev-7928-g68a8619
ke.h
Go to the documentation of this file.
3#error MIPS Headers are totally incorrect
4
5//
6// Used to contain PFNs and PFN counts
7//
8typedef ULONG PFN_COUNT;
11
12#define PASSIVE_LEVEL 0
13#define APC_LEVEL 1
14#define DISPATCH_LEVEL 2
15#define PROFILE_LEVEL 27
16#define IPI_LEVEL 29
17#define HIGH_LEVEL 31
18
19typedef struct _KPCR {
20 struct _KPRCB *Prcb; /* 20 */
21 KIRQL Irql; /* 24 */
22 ULONG IRR; /* 28 */
23 ULONG IDR; /* 30 */
25
26#define KeGetPcr() PCR
27
28typedef struct _KFLOATING_SAVE {
30
31static __inline
35{
36 return 0;
37}
38
39#define YieldProcessor() __asm__ __volatile__("nop");
40
41#define KeLowerIrql(a) KfLowerIrql(a)
42#define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
43
45VOID
49
55
60
65
UCHAR KIRQL
Definition: env_spec_w32.h:591
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
Definition: CrNtStubs.h:68
VOID FASTCALL KfLowerIrql(IN KIRQL NewIrql)
Definition: pic.c:232
KIRQL FASTCALL KfRaiseIrql(IN KIRQL NewIrql)
Definition: pic.c:187
long LONG
Definition: pedump.c:60
FORCEINLINE ULONG KeGetCurrentProcessorNumber(VOID)
Definition: ke.h:341
KFLOATING_SAVE
Definition: ke.h:33
FORCEINLINE KIRQL KeRaiseIrqlToSynchLevel(VOID)
Definition: ke.h:117
$if(_WDMDDK_) typedef struct _KFLOATING_SAVE
Definition: ke.h:1
struct _KPCR KPCR
* PKFLOATING_SAVE
Definition: ke.h:33
struct _KPCR * PKPCR
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114
LONG SPFN_NUMBER
Definition: ke.h:10
LONG * PSPFN_NUMBER
Definition: ke.h:10
ULONG * PPFN_NUMBER
Definition: ke.h:9
ULONG PFN_NUMBER
Definition: ke.h:9
Definition: ke.h:294
ULONG IDR
Definition: ke.h:23
struct _KPRCB * Prcb
Definition: ke.h:20
ULONG IRR
Definition: ke.h:22
KIRQL Irql
Definition: ke.h:311
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define _WDMDDK_
Definition: wdm.template.h:26
#define NTKERNELAPI
ULONG PFN_COUNT
Definition: mmtypes.h:102