ReactOS  0.4.15-dev-5459-gb85f005
ketypes.h File Reference

Go to the source code of this file.

Classes

union  _CPU_INFO
 
struct  _KTRAP_FRAME
 
struct  _KEXCEPTION_FRAME
 
struct  _TRAPFRAME_LOG_ENTRY
 
struct  _KPRCB
 
struct  _KIPCR
 
struct  _KSPECIAL_REGISTERS
 
struct  _KARM64_ARCH_STATE
 
struct  _KPROCESSOR_STATE
 

Macros

#define PASSIVE_LEVEL   0
 
#define LOW_LEVEL   0
 
#define APC_LEVEL   1
 
#define DISPATCH_LEVEL   2
 
#define CMCI_LEVEL   5
 
#define CLOCK_LEVEL   13
 
#define IPI_LEVEL   14
 
#define DRS_LEVEL   14
 
#define POWER_LEVEL   14
 
#define PROFILE_LEVEL   15
 
#define HIGH_LEVEL   15
 
#define IPI_APC   1
 
#define IPI_DPC   2
 
#define IPI_FREEZE   4
 
#define IPI_PACKET_READY   6
 
#define IPI_SYNCH_REQUEST   16
 
#define PRCB_MAJOR_VERSION   1
 
#define PRCB_BUILD_DEBUG   1
 
#define PRCB_BUILD_UNIPROCESSOR   2
 
#define LDT_ENTRY   ULONG
 
#define INITIAL_STALL_COUNT   100
 
#define MM_HAL_VA_START   0xFFFFFFFFFFC00000ULL
 
#define MM_HAL_VA_END   0xFFFFFFFFFFFFFFFFULL
 
#define KeGetCurrentIrql()   KeGetPcr()->CurrentIrql
 
#define _KeGetCurrentThread()   KeGetCurrentPrcb()->CurrentThread
 
#define _KeGetPreviousMode()   KeGetCurrentPrcb()->CurrentThread->PreviousMode
 
#define _KeIsExecutingDpc()   (KeGetCurrentPrcb()->DpcRoutineActive != 0)
 
#define KeGetCurrentThread()   _KeGetCurrentThread()
 
#define KeGetPreviousMode()   _KeGetPreviousMode()
 

Typedefs

typedef union _CPU_INFO CPU_INFO
 
typedef union _CPU_INFOPCPU_INFO
 
typedef struct _KTRAP_FRAME KTRAP_FRAME
 
typedef struct _KTRAP_FRAMEPKTRAP_FRAME
 
typedef struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
 
typedef struct _KEXCEPTION_FRAMEPKEXCEPTION_FRAME
 
typedef struct _TRAPFRAME_LOG_ENTRY TRAPFRAME_LOG_ENTRY
 
typedef struct _TRAPFRAME_LOG_ENTRYPTRAPFRAME_LOG_ENTRY
 
typedef struct _KPRCB KPRCB
 
typedef struct _KPRCBPKPRCB
 
typedef struct _KIPCR KIPCR
 
typedef struct _KIPCRPKIPCR
 
typedef struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
 
typedef struct _KSPECIAL_REGISTERSPKSPECIAL_REGISTERS
 
typedef struct _KARM64_ARCH_STATE KARM64_ARCH_STATE
 
typedef struct _KARM64_ARCH_STATEPKARM64_ARCH_STATE
 
typedef struct _KPROCESSOR_STATE KPROCESSOR_STATE
 
typedef struct _KPROCESSOR_STATEPKPROCESSOR_STATE
 

Functions

FORCEINLINE struct _KPRCBKeGetCurrentPrcb (VOID)
 

Macro Definition Documentation

◆ _KeGetCurrentThread

#define _KeGetCurrentThread ( )    KeGetCurrentPrcb()->CurrentThread

Definition at line 281 of file ketypes.h.

◆ _KeGetPreviousMode

#define _KeGetPreviousMode ( )    KeGetCurrentPrcb()->CurrentThread->PreviousMode

Definition at line 282 of file ketypes.h.

◆ _KeIsExecutingDpc

#define _KeIsExecutingDpc ( )    (KeGetCurrentPrcb()->DpcRoutineActive != 0)

Definition at line 283 of file ketypes.h.

◆ APC_LEVEL

#define APC_LEVEL   1

Definition at line 13 of file ketypes.h.

◆ CLOCK_LEVEL

#define CLOCK_LEVEL   13

Definition at line 16 of file ketypes.h.

◆ CMCI_LEVEL

#define CMCI_LEVEL   5

Definition at line 15 of file ketypes.h.

◆ DISPATCH_LEVEL

#define DISPATCH_LEVEL   2

Definition at line 14 of file ketypes.h.

◆ DRS_LEVEL

#define DRS_LEVEL   14

Definition at line 18 of file ketypes.h.

◆ HIGH_LEVEL

#define HIGH_LEVEL   15

Definition at line 21 of file ketypes.h.

◆ INITIAL_STALL_COUNT

#define INITIAL_STALL_COUNT   100

Definition at line 48 of file ketypes.h.

◆ IPI_APC

#define IPI_APC   1

Definition at line 26 of file ketypes.h.

◆ IPI_DPC

#define IPI_DPC   2

Definition at line 27 of file ketypes.h.

◆ IPI_FREEZE

#define IPI_FREEZE   4

Definition at line 28 of file ketypes.h.

◆ IPI_LEVEL

#define IPI_LEVEL   14

Definition at line 17 of file ketypes.h.

◆ IPI_PACKET_READY

#define IPI_PACKET_READY   6

Definition at line 29 of file ketypes.h.

◆ IPI_SYNCH_REQUEST

#define IPI_SYNCH_REQUEST   16

Definition at line 30 of file ketypes.h.

◆ KeGetCurrentIrql

#define KeGetCurrentIrql ( )    KeGetPcr()->CurrentIrql

Definition at line 280 of file ketypes.h.

◆ KeGetCurrentThread

#define KeGetCurrentThread ( )    _KeGetCurrentThread()

Definition at line 284 of file ketypes.h.

◆ KeGetPreviousMode

#define KeGetPreviousMode ( )    _KeGetPreviousMode()

Definition at line 285 of file ketypes.h.

◆ LDT_ENTRY

Definition at line 42 of file ketypes.h.

◆ LOW_LEVEL

#define LOW_LEVEL   0

Definition at line 12 of file ketypes.h.

◆ MM_HAL_VA_END

#define MM_HAL_VA_END   0xFFFFFFFFFFFFFFFFULL

Definition at line 50 of file ketypes.h.

◆ MM_HAL_VA_START

#define MM_HAL_VA_START   0xFFFFFFFFFFC00000ULL

Definition at line 49 of file ketypes.h.

◆ PASSIVE_LEVEL

#define PASSIVE_LEVEL   0

Definition at line 11 of file ketypes.h.

◆ POWER_LEVEL

#define POWER_LEVEL   14

Definition at line 19 of file ketypes.h.

◆ PRCB_BUILD_DEBUG

#define PRCB_BUILD_DEBUG   1

Definition at line 36 of file ketypes.h.

◆ PRCB_BUILD_UNIPROCESSOR

#define PRCB_BUILD_UNIPROCESSOR   2

Definition at line 37 of file ketypes.h.

◆ PRCB_MAJOR_VERSION

#define PRCB_MAJOR_VERSION   1

Definition at line 35 of file ketypes.h.

◆ PROFILE_LEVEL

#define PROFILE_LEVEL   15

Definition at line 20 of file ketypes.h.

Typedef Documentation

◆ CPU_INFO

typedef union _CPU_INFO CPU_INFO

◆ KARM64_ARCH_STATE

◆ KEXCEPTION_FRAME

◆ KIPCR

typedef struct _KIPCR KIPCR

◆ KPRCB

typedef struct _KPRCB KPRCB

◆ KPROCESSOR_STATE

◆ KSPECIAL_REGISTERS

◆ KTRAP_FRAME

◆ PCPU_INFO

typedef union _CPU_INFO * PCPU_INFO

◆ PKARM64_ARCH_STATE

◆ PKEXCEPTION_FRAME

◆ PKIPCR

typedef struct _KIPCR * PKIPCR

◆ PKPRCB

typedef struct _KPRCB * PKPRCB

◆ PKPROCESSOR_STATE

◆ PKSPECIAL_REGISTERS

◆ PKTRAP_FRAME

◆ PTRAPFRAME_LOG_ENTRY

◆ TRAPFRAME_LOG_ENTRY

Function Documentation

◆ KeGetCurrentPrcb()

FORCEINLINE struct _KPRCB* KeGetCurrentPrcb ( VOID  )

Definition at line 271 of file ketypes.h.

272 {
273  //UNIMPLEMENTED;
274  return 0;
275 }