ReactOS  r74006
ke.h
Go to the documentation of this file.
2 #error MIPS Headers are totally incorrect
3 
4 //
5 // Used to contain PFNs and PFN counts
6 //
7 typedef ULONG PFN_COUNT;
10 
11 #define PASSIVE_LEVEL 0
12 #define APC_LEVEL 1
13 #define DISPATCH_LEVEL 2
14 #define PROFILE_LEVEL 27
15 #define IPI_LEVEL 29
16 #define HIGH_LEVEL 31
17 
18 typedef struct _KPCR {
19  struct _KPRCB *Prcb; /* 20 */
20  KIRQL Irql; /* 24 */
21  ULONG IRR; /* 28 */
22  ULONG IDR; /* 30 */
23 } KPCR, *PKPCR;
24 
25 #define KeGetPcr() PCR
26 
27 typedef struct _KFLOATING_SAVE {
29 
30 static __inline
31 ULONG
32 NTAPI
34 {
35  return 0;
36 }
37 
38 #define YieldProcessor() __asm__ __volatile__("nop");
39 
40 #define KeLowerIrql(a) KfLowerIrql(a)
41 #define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
42 
44 VOID
45 NTAPI
47  IN KIRQL NewIrql);
48 
50 KIRQL
51 NTAPI
53  IN KIRQL NewIrql);
54 
56 KIRQL
57 NTAPI
59 
61 KIRQL
62 NTAPI
64 
65 $endif
66 
KIRQL Irql
Definition: ke.h:298
#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:22
#define _WDMDDK_
Definition: wdm.template.h:26
Definition: ke.h:280
FORCEINLINE ULONG KeGetCurrentProcessorNumber(VOID)
Definition: ke.h:325
UCHAR KIRQL
Definition: env_spec_w32.h:591
ULONG * PPFN_NUMBER
Definition: ke.h:8
ULONG PFN_NUMBER
Definition: ke.h:8
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:9
#define NTKERNELAPI
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
LONG SPFN_NUMBER
Definition: ke.h:9
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:21
struct _KPRCB * Prcb
Definition: ke.h:19
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114