ReactOS  0.4.15-dev-1627-gaf0f858
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 //
8 typedef 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 
19 typedef struct _KPCR {
20  struct _KPRCB *Prcb; /* 20 */
21  KIRQL Irql; /* 24 */
22  ULONG IRR; /* 28 */
23  ULONG IDR; /* 30 */
24 } KPCR, *PKPCR;
25 
26 #define KeGetPcr() PCR
27 
28 typedef struct _KFLOATING_SAVE {
30 
31 static __inline
32 ULONG
33 NTAPI
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 
45 VOID
46 NTAPI
48  IN KIRQL NewIrql);
49 
51 KIRQL
52 NTAPI
54  IN KIRQL NewIrql);
55 
57 KIRQL
58 NTAPI
60 
62 KIRQL
63 NTAPI
65 
66 $endif
KIRQL Irql
Definition: ke.h:307
#define IN
Definition: typedefs.h:39
struct _KFLOATING_SAVE KFLOATING_SAVE
ULONG PFN_COUNT
Definition: mmtypes.h:102
struct _KFLOATING_SAVE * PKFLOATING_SAVE
$if(_WDMDDK_) typedef struct _KFLOATING_SAVE
Definition: ke.h:1
FORCEINLINE KIRQL KeRaiseIrqlToSynchLevel(VOID)
Definition: ke.h:117
ULONG IDR
Definition: ke.h:23
#define _WDMDDK_
Definition: wdm.template.h:26
Definition: ke.h:289
FORCEINLINE ULONG KeGetCurrentProcessorNumber(VOID)
Definition: ke.h:337
UCHAR KIRQL
Definition: env_spec_w32.h:591
ULONG * PPFN_NUMBER
Definition: ke.h:9
ULONG PFN_NUMBER
Definition: ke.h:9
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
long LONG
Definition: pedump.c:60
NTKERNELAPI KIRQL NTAPI KfRaiseIrql(IN KIRQL NewIrql)
Definition: pic.c:187
LONG * PSPFN_NUMBER
Definition: ke.h:10
#define NTKERNELAPI
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
LONG SPFN_NUMBER
Definition: ke.h:10
NTKERNELAPI VOID NTAPI KfLowerIrql(IN KIRQL NewIrql)
Definition: pic.c:232
struct _KPCR KPCR
NTKERNELAPI KIRQL NTAPI KeRaiseIrqlToDpcLevel(VOID)
Definition: pic.c:133
unsigned int ULONG
Definition: retypes.h:1
struct _KPCR * PKPCR
ULONG IRR
Definition: ke.h:22
struct _KPRCB * Prcb
Definition: ke.h:20
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114