ReactOS  r75907
ketypes.h File Reference

Go to the source code of this file.

Classes

struct  _KARM_VFP_STATE
 
struct  _KTRAP_FRAME
 
struct  _KEXCEPTION_FRAME
 
struct  _KARM_ARCH_STATE
 
union  _ARM_TTB_REGISTER
 
union  _ARM_STATUS_REGISTER
 
union  _ARM_DOMAIN_REGISTER
 
union  _ARM_CONTROL_REGISTER
 
union  _ARM_ID_CODE_REGISTER
 
union  _ARM_CACHE_REGISTER
 
union  _ARM_LOCKDOWN_REGISTER
 
struct  _KSPECIAL_REGISTERS
 
struct  _KPROCESSOR_STATE
 
struct  _KARM_MINI_STACK
 
struct  _DISPATCHER_CONTEXT
 
struct  _MACHINE_FRAME
 
struct  _UCALLOUT_FRAME
 
struct  _KSTART_FRAME
 
struct  _KSWITCH_FRAME
 
struct  _KPRCB
 
struct  _KIPCR
 

Macros

#define SYNCH_LEVEL   DISPATCH_LEVEL
 
#define CP15_MIDR   15, 0, 0, 0, 0
 
#define CP15_CTR   15, 0, 0, 0, 1
 
#define CP15_TCMTR   15, 0, 0, 0, 2
 
#define CP15_TLBTR   15, 0, 0, 0, 3
 
#define CP15_MPIDR   15, 0, 0, 0, 5
 
#define CP15_PFR0   15, 0, 0, 1, 0
 
#define CP15_PFR1   15, 0, 0, 1, 1
 
#define CP15_DFR0   15, 0, 0, 1, 2
 
#define CP15_AFR0   15, 0, 0, 1, 3
 
#define CP15_MMFR0   15, 0, 0, 1, 4
 
#define CP15_MMFR1   15, 0, 0, 1, 5
 
#define CP15_MMFR2   15, 0, 0, 1, 6
 
#define CP15_MMFR3   15, 0, 0, 1, 7
 
#define CP15_ISAR0   15, 0, 0, 2, 0
 
#define CP15_ISAR1   15, 0, 0, 2, 1
 
#define CP15_ISAR2   15, 0, 0, 2, 2
 
#define CP15_ISAR3   15, 0, 0, 2, 3
 
#define CP15_ISAR4   15, 0, 0, 2, 4
 
#define CP15_ISAR5   15, 0, 0, 2, 5
 
#define CP15_ISAR6   15, 0, 0, 2, 6
 
#define CP15_ISAR7   15, 0, 0, 2, 7
 
#define CP15_SCTLR   15, 0, 1, 0, 0
 
#define CP15_ACTLR   15, 0, 1, 0, 1
 
#define CP15_CPACR   15, 0, 1, 0, 2
 
#define CP15_SCR   15, 0, 1, 1, 0
 
#define CP15_SDER   15, 0, 1, 1, 1
 
#define CP15_NSACR   15, 0, 1, 1, 2
 
#define CP15_TTBR0   15, 0, 2, 0, 0
 
#define CP15_TTBR1   15, 0, 2, 0, 1
 
#define CP15_TTBCR   15, 0, 2, 0, 2
 
#define CP15_DACR   15, 0, 3, 0, 0
 
#define CP15_DFSR   15, 0, 5, 0, 0
 
#define CP15_IFSR   15, 0, 5, 0, 1
 
#define CP15_DFAR   15, 0, 6, 0, 0
 
#define CP15_IFAR   15, 0, 6, 0, 2
 
#define CP15_ICIALLUIS   15, 0, 7, 1, 0
 
#define CP15_BPIALLIS   15, 0, 7, 1, 6
 
#define CP15_ICIALLU   15, 0, 7, 5, 0
 
#define CP15_ICIMVAU   15, 0, 7, 5, 1
 
#define CP15_BPIALL   15, 0, 7, 5, 6
 
#define CP15_BPIMVA   15, 0, 7, 5, 7
 
#define CP15_DCIMVAC   15, 0, 7, 6, 1
 
#define CP15_DCISW   15, 0, 7, 6, 2
 
#define CP15_DCCMVAC   15, 0, 7, 10, 1
 
#define CP15_DCCSW   15, 0, 7, 10, 2
 
#define CP15_DCCMVAU   15, 0, 7, 11, 1
 
#define CP15_DCCIMVAC   15, 0, 7, 14, 1
 
#define CP15_DCCISW   15, 0, 7, 14, 2
 
#define CP15_PAR   15, 0, 7, 4, 0
 
#define CP15_ATS1CPR   15, 0, 7, 8, 0
 
#define CP15_ATS1CPW   15, 0, 7, 8, 1
 
#define CP15_ATS1CUR   15, 0, 7, 8, 2
 
#define CP15_ATS1CUW   15, 0, 7, 8, 3
 
#define CP15_ISB   15, 0, 7, 5, 4
 
#define CP15_DSB   15, 0, 7, 10, 4
 
#define CP15_DMB   15, 0, 7, 10, 5
 
#define CP15_TLBIALLIS   15, 0, 8, 3, 0
 
#define CP15_TLBIMVAIS   15, 0, 8, 3, 1
 
#define CP15_TLBIASIDIS   15, 0, 8, 3, 2
 
#define CP15_TLBIMVAAIS   15, 0, 8, 3, 3
 
#define CP15_ITLBIALL   15, 0, 8, 5, 0
 
#define CP15_ITLBIMVA   15, 0, 8, 5, 1
 
#define CP15_ITLBIASID   15, 0, 8, 5, 2
 
#define CP15_DTLBIALL   15, 0, 8, 6, 0
 
#define CP15_DTLBIMVA   15, 0, 8, 6, 1
 
#define CP15_DTLBIASID   15, 0, 8, 6, 2
 
#define CP15_TLBIALL   15, 0, 8, 7, 0
 
#define CP15_TLBIMVA   15, 0, 8, 7, 1
 
#define CP15_TLBIASID   15, 0, 8, 7, 2
 
#define CP15_TLBIMVAA   15, 0, 8, 7, 3
 
#define CP15_PMCR   15, 0, 9, 12, 0
 
#define CP15_PMCNTENSET   15, 0, 9, 12, 1
 
#define CP15_PMCNTENCLR   15, 0, 9, 12, 2
 
#define CP15_PMOVSR   15, 0, 9, 12, 3
 
#define CP15_PSWINC   15, 0, 9, 12, 4
 
#define CP15_PMSELR   15, 0, 9, 12, 5
 
#define CP15_PMCCNTR   15, 0, 9, 13, 0
 
#define CP15_PMXEVTYPER   15, 0, 9, 13, 1
 
#define CP15_PMXEVCNTR   15, 0, 9, 13, 2
 
#define CP15_PMUSERENR   15, 0, 9, 14, 0
 
#define CP15_PMINTENSET   15, 0, 9, 14, 1
 
#define CP15_PMINTENCLR   15, 0, 9, 14, 2
 
#define CP15_PRRR   15, 0, 10, 2, 0
 
#define CP15_NMRR   15, 0, 10, 2, 1
 
#define CP15_VBAR   15, 0, 12, 0, 0
 
#define CP15_MVBAR   15, 0, 12, 0, 1
 
#define CP15_ISR   15, 0, 12, 1, 0
 
#define CP15_CONTEXTIDR   15, 0, 13, 0, 1
 
#define CP15_TPIDRURW   15, 0, 13, 0, 2
 
#define CP15_TPIDRURO   15, 0, 13, 0, 3
 
#define CP15_TPIDRPRW   15, 0, 13, 0, 4
 
#define CP15_CCSIDR   15, 1, 0, 0, 0
 
#define CP15_CLIDR   15, 1, 0, 0, 1
 
#define CP15_AIDR   15, 1, 0, 0, 7
 
#define CP15_CSSELR   15, 2, 0, 0, 0
 
#define CP14_DBGDIDR   14, 0, 0, 0, 0
 
#define CP14_DBGWFAR   14, 0, 0, 6, 0
 
#define CP14_DBGVCR   14, 0, 0, 7, 0
 
#define CP14_DBGECR   14, 0, 0, 9, 0
 
#define CP14_DBGDSCCR   14, 0, 0, 10, 0
 
#define CP14_DBGDSMCR   14, 0, 0, 11, 0
 
#define CP14_DBGDTRRX   14, 0, 0, 0, 2
 
#define CP14_DBGPCSR   14, 0, 0, 1, 2
 
#define CP14_DBGITR   14, 0, 0, 1, 2
 
#define CP14_DBGDSCR   14, 0, 0, 2, 2
 
#define CP14_DBGDTRTX   14, 0, 0, 3, 2
 
#define CP14_DBGDRCR   14, 0, 0, 4, 2
 
#define CP14_DBGCIDSR   14, 0, 0, 9, 2
 
#define CP14_DBGBVR0   14, 0, 0, 0, 4
 
#define CP14_DBGBVR1   14, 0, 0, 1, 4
 
#define CP14_DBGBVR2   14, 0, 0, 2, 4
 
#define CP14_DBGBVR3   14, 0, 0, 3, 4
 
#define CP14_DBGBVR4   14, 0, 0, 4, 4
 
#define CP14_DBGBVR5   14, 0, 0, 5, 4
 
#define CP14_DBGBVR6   14, 0, 0, 6, 4
 
#define CP14_DBGBVR7   14, 0, 0, 7, 4
 
#define CP14_DBGBCR0   14, 0, 0, 0, 5
 
#define CP14_DBGBCR1   14, 0, 0, 1, 5
 
#define CP14_DBGBCR2   14, 0, 0, 2, 5
 
#define CP14_DBGBCR3   14, 0, 0, 3, 5
 
#define CP14_DBGBCR4   14, 0, 0, 4, 5
 
#define CP14_DBGBCR5   14, 0, 0, 5, 5
 
#define CP14_DBGBCR6   14, 0, 0, 6, 5
 
#define CP14_DBGBCR7   14, 0, 0, 7, 5
 
#define CP14_DBGWVR0   14, 0, 0, 0, 6
 
#define CP14_DBGWVR1   14, 0, 0, 1, 6
 
#define CP14_DBGWVR2   14, 0, 0, 2, 6
 
#define CP14_DBGWVR3   14, 0, 0, 3, 6
 
#define CP14_DBGWCR0   14, 0, 0, 0, 7
 
#define CP14_DBGWCR1   14, 0, 0, 1, 7
 
#define CP14_DBGWCR2   14, 0, 0, 2, 7
 
#define CP14_DBGWCR3   14, 0, 0, 3, 7
 
#define CPVFP_FPSID   10, 7, 0, 0, 0
 
#define CPVFP_FPSCR   10, 7, 1, 0, 0
 
#define CPVFP_MVFR1   10, 7, 6, 0, 0
 
#define CPVFP_MVFR0   10, 7, 7, 0, 0
 
#define CPVFP_FPEXC   10, 7, 8, 0, 0
 
#define CP15_TTBRx_PD_MASK   0xffffc000
 
#define CPSRM_USER   0x10
 
#define CPSRM_FIQ   0x11
 
#define CPSRM_INT   0x12
 
#define CPSRM_SVC   0x13
 
#define CPSRM_ABT   0x17
 
#define CPSRM_UDF   0x1b
 
#define CPSRM_SYS   0x1f
 
#define CPSRM_MASK   0x1f
 
#define SYSCALL_PSR   0x30
 
#define CPSRF_N   0x80000000
 
#define CPSRF_Z   0x40000000
 
#define CPSRF_C   0x20000000
 
#define CPSRF_V   0x10000000
 
#define CPSRF_Q   0x08000000
 
#define CPSR_IT_MASK   0x600fc00
 
#define FPSCRF_N   0x80000000
 
#define FPSCRF_Z   0x40000000
 
#define FPSCRF_C   0x20000000
 
#define FPSCRF_V   0x10000000
 
#define FPSCRF_QC   0x08000000
 
#define FPSCRM_AHP   0x4000000
 
#define FPSCRM_DN   0x2000000
 
#define FPSCRM_FZ   0x1000000
 
#define FPSCRM_RMODE_MASK   0xc00000
 
#define FPSCRM_RMODE_RN   0x0
 
#define FPSCRM_RMODE_RP   0x400000
 
#define FPSCRM_RMODE_RM   0x800000
 
#define FPSCRM_RMODE_RZ   0xc00000
 
#define FPSCRM_DEPRECATED   0x370000
 
#define FPSCR_IDE   0x8000
 
#define FPSCR_IXE   0x1000
 
#define FPSCR_UFE   0x800
 
#define FPSCR_OFE   0x400
 
#define FPSCR_DZE   0x200
 
#define FPSCR_IOE   0x100
 
#define FPSCR_IDC   0x80
 
#define FPSCR_IXC   0x10
 
#define FPSCR_UFC   0x8
 
#define FPSCR_OFC   0x4
 
#define FPSCR_DZC   0x2
 
#define FPSCR_IOC   0x1
 
#define CPSRC_INT   0x80
 
#define CPSRC_ABORT   0x100
 
#define CPSRC_THUMB   0x20
 
#define SWFS_PAGE_FAULT   0x10
 
#define SWFS_ALIGN_FAULT   0x20
 
#define SWFS_HWERR_FAULT   0x40
 
#define SWFS_DEBUG_FAULT   0x80
 
#define SWFS_EXECUTE   0x8
 
#define SWFS_WRITE   0x1
 
#define CP14_DBGDSCR_MOE_MASK   0x3c
 
#define CP14_DBGDSCR_MOE_SHIFT   0x2
 
#define CP14_DBGDSCR_MOE_HALT   0x0
 
#define CP14_DBGDSCR_MOE_BP   0x1
 
#define CP14_DBGDSCR_MOE_WPASYNC   0x2
 
#define CP14_DBGDSCR_MOE_BKPT   0x3
 
#define CP14_DBGDSCR_MOE_EXTERNAL   0x4
 
#define CP14_DBGDSCR_MOE_VECTOR   0x5
 
#define CP14_DBGDSCR_MOE_WPSYNC   0xa
 
#define CP15_PMCR_DP   0x20
 
#define CP15_PMCR_X   0x10
 
#define CP15_PMCR_CLKCNT_DIV   0x8
 
#define CP15_PMCR_CLKCNT_RST   0x4
 
#define CP15_PMCR_CNT_RST   0x2
 
#define CP15_PMCR_ENABLE   0x1
 
#define C1_MMU_CONTROL   0x01
 
#define C1_ALIGNMENT_CONTROL   0x02
 
#define C1_DCACHE_CONTROL   0x04
 
#define C1_ICACHE_CONTROL   0x1000
 
#define C1_VECTOR_CONTROL   0x2000
 
#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   0xFFC00000
 
#define MM_HAL_VA_END   0xFFFFFFFF
 
#define KSEG0_BASE   0x80000000
 
#define NUMBER_POOL_LOOKASIDE_LISTS   32
 
#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 struct _KARM_VFP_STATE KARM_VFP_STATE
 
typedef struct _KARM_VFP_STATEPKARM_VFP_STATE
 
typedef struct _KTRAP_FRAME KTRAP_FRAME
 
typedef struct _KTRAP_FRAMEPKTRAP_FRAME
 
typedef struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
 
typedef struct _KEXCEPTION_FRAMEPKEXCEPTION_FRAME
 
typedef struct _KARM_ARCH_STATE KARM_ARCH_STATE
 
typedef struct _KARM_ARCH_STATEPKARM_ARCH_STATE
 
typedef union _ARM_TTB_REGISTER ARM_TTB_REGISTER
 
typedef union _ARM_STATUS_REGISTER ARM_STATUS_REGISTER
 
typedef union _ARM_DOMAIN_REGISTER ARM_DOMAIN_REGISTER
 
typedef union _ARM_CONTROL_REGISTER ARM_CONTROL_REGISTER
 
typedef union
_ARM_CONTROL_REGISTER
PARM_CONTROL_REGISTER
 
typedef union _ARM_ID_CODE_REGISTER ARM_ID_CODE_REGISTER
 
typedef union
_ARM_ID_CODE_REGISTER
PARM_ID_CODE_REGISTER
 
typedef union _ARM_CACHE_REGISTER ARM_CACHE_REGISTER
 
typedef union _ARM_CACHE_REGISTERPARM_CACHE_REGISTER
 
typedef union
_ARM_LOCKDOWN_REGISTER 
ARM_LOCKDOWN_REGISTER
 
typedef union
_ARM_LOCKDOWN_REGISTER
PARM_LOCKDOWN_REGISTER
 
typedef enum _ARM_DOMAINS ARM_DOMAINS
 
typedef struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
 
typedef struct
_KSPECIAL_REGISTERS
PKSPECIAL_REGISTERS
 
typedef struct _KPROCESSOR_STATE KPROCESSOR_STATE
 
typedef struct _KPROCESSOR_STATEPKPROCESSOR_STATE
 
typedef struct _KARM_MINI_STACK KARM_MINI_STACK
 
typedef struct _KARM_MINI_STACKPKARM_MINI_STACK
 
typedef struct _DISPATCHER_CONTEXT DISPATCHER_CONTEXT
 
typedef struct
_DISPATCHER_CONTEXT
PDISPATCHER_CONTEXT
 
typedef struct _MACHINE_FRAME MACHINE_FRAME
 
typedef struct _MACHINE_FRAMEPMACHINE_FRAME
 
typedef KEXCEPTION_FRAME KCALLOUT_FRAME
 
typedef KEXCEPTION_FRAME PKCALLOUT_FRAME
 
typedef struct _UCALLOUT_FRAME UCALLOUT_FRAME
 
typedef struct _UCALLOUT_FRAMEPUCALLOUT_FRAME
 
typedef struct _KSTART_FRAME KSTART_FRAME
 
typedef struct _KSTART_FRAMEPKSTART_FRAME
 
typedef struct _KSWITCH_FRAME KSWITCH_FRAME
 
typedef struct _KSWITCH_FRAMEPKSWITCH_FRAME
 
typedef struct _KPRCB KPRCB
 
typedef struct _KPRCBPKPRCB
 
typedef struct _KIPCR KIPCR
 
typedef struct _KIPCRPKIPCR
 

Enumerations

enum  _ARM_DOMAINS {
  Domain0, Domain1, Domain2, Domain3,
  Domain4, Domain5, Domain6, Domain7,
  Domain8, Domain9, Domain10, Domain11,
  Domain12, Domain13, Domain14, Domain15
}
 
enum  _ARM_CACHE_TYPES {
  FirstLevelDcache = 0, SecondLevelDcache = 1, FirstLevelIcache = 2, SecondLevelIcache = 3,
  GlobalDcache = 4, GlobalIcache = 5
}
 

Functions

 C_ASSERT (sizeof(ARM_CONTROL_REGISTER)==sizeof(ULONG))
 
 C_ASSERT (sizeof(KPROCESSOR_STATE)==0x3a0)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, ProcessorState)==0x20)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, ProcessorModel)==0x3C0)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, LockQueue)==0x480)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, PacketBarrier)==0x600)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, Mailbox)==0x680)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, DpcData)==0x690)
 
 C_ASSERT (FIELD_OFFSET(KPRCB, DpcStack)==0x6c0)
 
 C_ASSERT (FIELD_OFFSET(KIPCR, Prcb.LegacyNumber)==0x580)
 
FORCEINLINE struct _KPRCBKeGetCurrentPrcb (VOID)
 

Macro Definition Documentation

#define _KeGetCurrentThread ( )    KeGetCurrentPrcb()->CurrentThread

Definition at line 1077 of file ketypes.h.

Referenced by KeGetCurrentThread().

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

Definition at line 1078 of file ketypes.h.

Referenced by KeGetPreviousMode().

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

Definition at line 1079 of file ketypes.h.

#define C1_ALIGNMENT_CONTROL   0x02

Definition at line 258 of file ketypes.h.

#define C1_DCACHE_CONTROL   0x04

Definition at line 259 of file ketypes.h.

#define C1_ICACHE_CONTROL   0x1000

Definition at line 260 of file ketypes.h.

#define C1_MMU_CONTROL   0x01

Definition at line 257 of file ketypes.h.

#define C1_VECTOR_CONTROL   0x2000

Definition at line 261 of file ketypes.h.

#define CP14_DBGBCR0   14, 0, 0, 0, 5

Definition at line 153 of file ketypes.h.

#define CP14_DBGBCR1   14, 0, 0, 1, 5

Definition at line 154 of file ketypes.h.

#define CP14_DBGBCR2   14, 0, 0, 2, 5

Definition at line 155 of file ketypes.h.

#define CP14_DBGBCR3   14, 0, 0, 3, 5

Definition at line 156 of file ketypes.h.

#define CP14_DBGBCR4   14, 0, 0, 4, 5

Definition at line 157 of file ketypes.h.

#define CP14_DBGBCR5   14, 0, 0, 5, 5

Definition at line 158 of file ketypes.h.

#define CP14_DBGBCR6   14, 0, 0, 6, 5

Definition at line 159 of file ketypes.h.

#define CP14_DBGBCR7   14, 0, 0, 7, 5

Definition at line 160 of file ketypes.h.

#define CP14_DBGBVR0   14, 0, 0, 0, 4

Definition at line 145 of file ketypes.h.

#define CP14_DBGBVR1   14, 0, 0, 1, 4

Definition at line 146 of file ketypes.h.

#define CP14_DBGBVR2   14, 0, 0, 2, 4

Definition at line 147 of file ketypes.h.

#define CP14_DBGBVR3   14, 0, 0, 3, 4

Definition at line 148 of file ketypes.h.

#define CP14_DBGBVR4   14, 0, 0, 4, 4

Definition at line 149 of file ketypes.h.

#define CP14_DBGBVR5   14, 0, 0, 5, 4

Definition at line 150 of file ketypes.h.

#define CP14_DBGBVR6   14, 0, 0, 6, 4

Definition at line 151 of file ketypes.h.

#define CP14_DBGBVR7   14, 0, 0, 7, 4

Definition at line 152 of file ketypes.h.

#define CP14_DBGCIDSR   14, 0, 0, 9, 2

Definition at line 144 of file ketypes.h.

#define CP14_DBGDIDR   14, 0, 0, 0, 0

Definition at line 132 of file ketypes.h.

#define CP14_DBGDRCR   14, 0, 0, 4, 2

Definition at line 143 of file ketypes.h.

#define CP14_DBGDSCCR   14, 0, 0, 10, 0

Definition at line 136 of file ketypes.h.

#define CP14_DBGDSCR   14, 0, 0, 2, 2

Definition at line 141 of file ketypes.h.

#define CP14_DBGDSCR_MOE_BKPT   0x3

Definition at line 242 of file ketypes.h.

#define CP14_DBGDSCR_MOE_BP   0x1

Definition at line 240 of file ketypes.h.

#define CP14_DBGDSCR_MOE_EXTERNAL   0x4

Definition at line 243 of file ketypes.h.

#define CP14_DBGDSCR_MOE_HALT   0x0

Definition at line 239 of file ketypes.h.

#define CP14_DBGDSCR_MOE_MASK   0x3c

Definition at line 237 of file ketypes.h.

#define CP14_DBGDSCR_MOE_SHIFT   0x2

Definition at line 238 of file ketypes.h.

#define CP14_DBGDSCR_MOE_VECTOR   0x5

Definition at line 244 of file ketypes.h.

#define CP14_DBGDSCR_MOE_WPASYNC   0x2

Definition at line 241 of file ketypes.h.

#define CP14_DBGDSCR_MOE_WPSYNC   0xa

Definition at line 245 of file ketypes.h.

#define CP14_DBGDSMCR   14, 0, 0, 11, 0

Definition at line 137 of file ketypes.h.

#define CP14_DBGDTRRX   14, 0, 0, 0, 2

Definition at line 138 of file ketypes.h.

#define CP14_DBGDTRTX   14, 0, 0, 3, 2

Definition at line 142 of file ketypes.h.

#define CP14_DBGECR   14, 0, 0, 9, 0

Definition at line 135 of file ketypes.h.

#define CP14_DBGITR   14, 0, 0, 1, 2

Definition at line 140 of file ketypes.h.

#define CP14_DBGPCSR   14, 0, 0, 1, 2

Definition at line 139 of file ketypes.h.

#define CP14_DBGVCR   14, 0, 0, 7, 0

Definition at line 134 of file ketypes.h.

#define CP14_DBGWCR0   14, 0, 0, 0, 7

Definition at line 165 of file ketypes.h.

#define CP14_DBGWCR1   14, 0, 0, 1, 7

Definition at line 166 of file ketypes.h.

#define CP14_DBGWCR2   14, 0, 0, 2, 7

Definition at line 167 of file ketypes.h.

#define CP14_DBGWCR3   14, 0, 0, 3, 7

Definition at line 168 of file ketypes.h.

#define CP14_DBGWFAR   14, 0, 0, 6, 0

Definition at line 133 of file ketypes.h.

#define CP14_DBGWVR0   14, 0, 0, 0, 6

Definition at line 161 of file ketypes.h.

#define CP14_DBGWVR1   14, 0, 0, 1, 6

Definition at line 162 of file ketypes.h.

#define CP14_DBGWVR2   14, 0, 0, 2, 6

Definition at line 163 of file ketypes.h.

#define CP14_DBGWVR3   14, 0, 0, 3, 6

Definition at line 164 of file ketypes.h.

#define CP15_ACTLR   15, 0, 1, 0, 1

Definition at line 59 of file ketypes.h.

#define CP15_AFR0   15, 0, 0, 1, 3

Definition at line 45 of file ketypes.h.

#define CP15_AIDR   15, 1, 0, 0, 7

Definition at line 130 of file ketypes.h.

#define CP15_ATS1CPR   15, 0, 7, 8, 0

Definition at line 86 of file ketypes.h.

#define CP15_ATS1CPW   15, 0, 7, 8, 1

Definition at line 87 of file ketypes.h.

#define CP15_ATS1CUR   15, 0, 7, 8, 2

Definition at line 88 of file ketypes.h.

#define CP15_ATS1CUW   15, 0, 7, 8, 3

Definition at line 89 of file ketypes.h.

#define CP15_BPIALL   15, 0, 7, 5, 6

Definition at line 76 of file ketypes.h.

#define CP15_BPIALLIS   15, 0, 7, 1, 6

Definition at line 73 of file ketypes.h.

#define CP15_BPIMVA   15, 0, 7, 5, 7

Definition at line 77 of file ketypes.h.

#define CP15_CCSIDR   15, 1, 0, 0, 0

Definition at line 128 of file ketypes.h.

#define CP15_CLIDR   15, 1, 0, 0, 1

Definition at line 129 of file ketypes.h.

#define CP15_CONTEXTIDR   15, 0, 13, 0, 1

Definition at line 124 of file ketypes.h.

#define CP15_CPACR   15, 0, 1, 0, 2

Definition at line 60 of file ketypes.h.

#define CP15_CSSELR   15, 2, 0, 0, 0

Definition at line 131 of file ketypes.h.

#define CP15_CTR   15, 0, 0, 0, 1

Definition at line 38 of file ketypes.h.

#define CP15_DACR   15, 0, 3, 0, 0

Definition at line 67 of file ketypes.h.

#define CP15_DCCIMVAC   15, 0, 7, 14, 1

Definition at line 83 of file ketypes.h.

#define CP15_DCCISW   15, 0, 7, 14, 2

Definition at line 84 of file ketypes.h.

#define CP15_DCCMVAC   15, 0, 7, 10, 1

Definition at line 80 of file ketypes.h.

#define CP15_DCCMVAU   15, 0, 7, 11, 1

Definition at line 82 of file ketypes.h.

#define CP15_DCCSW   15, 0, 7, 10, 2

Definition at line 81 of file ketypes.h.

#define CP15_DCIMVAC   15, 0, 7, 6, 1

Definition at line 78 of file ketypes.h.

#define CP15_DCISW   15, 0, 7, 6, 2

Definition at line 79 of file ketypes.h.

#define CP15_DFAR   15, 0, 6, 0, 0

Definition at line 70 of file ketypes.h.

#define CP15_DFR0   15, 0, 0, 1, 2

Definition at line 44 of file ketypes.h.

#define CP15_DFSR   15, 0, 5, 0, 0

Definition at line 68 of file ketypes.h.

#define CP15_DMB   15, 0, 7, 10, 5

Definition at line 92 of file ketypes.h.

#define CP15_DSB   15, 0, 7, 10, 4

Definition at line 91 of file ketypes.h.

#define CP15_DTLBIALL   15, 0, 8, 6, 0

Definition at line 100 of file ketypes.h.

#define CP15_DTLBIASID   15, 0, 8, 6, 2

Definition at line 102 of file ketypes.h.

#define CP15_DTLBIMVA   15, 0, 8, 6, 1

Definition at line 101 of file ketypes.h.

#define CP15_ICIALLU   15, 0, 7, 5, 0

Definition at line 74 of file ketypes.h.

Referenced by KeSweepICache().

#define CP15_ICIALLUIS   15, 0, 7, 1, 0

Definition at line 72 of file ketypes.h.

#define CP15_ICIMVAU   15, 0, 7, 5, 1

Definition at line 75 of file ketypes.h.

#define CP15_IFAR   15, 0, 6, 0, 2

Definition at line 71 of file ketypes.h.

#define CP15_IFSR   15, 0, 5, 0, 1

Definition at line 69 of file ketypes.h.

#define CP15_ISAR0   15, 0, 0, 2, 0

Definition at line 50 of file ketypes.h.

#define CP15_ISAR1   15, 0, 0, 2, 1

Definition at line 51 of file ketypes.h.

#define CP15_ISAR2   15, 0, 0, 2, 2

Definition at line 52 of file ketypes.h.

#define CP15_ISAR3   15, 0, 0, 2, 3

Definition at line 53 of file ketypes.h.

#define CP15_ISAR4   15, 0, 0, 2, 4

Definition at line 54 of file ketypes.h.

#define CP15_ISAR5   15, 0, 0, 2, 5

Definition at line 55 of file ketypes.h.

#define CP15_ISAR6   15, 0, 0, 2, 6

Definition at line 56 of file ketypes.h.

#define CP15_ISAR7   15, 0, 0, 2, 7

Definition at line 57 of file ketypes.h.

#define CP15_ISB   15, 0, 7, 5, 4

Definition at line 90 of file ketypes.h.

#define CP15_ISR   15, 0, 12, 1, 0

Definition at line 123 of file ketypes.h.

#define CP15_ITLBIALL   15, 0, 8, 5, 0

Definition at line 97 of file ketypes.h.

#define CP15_ITLBIASID   15, 0, 8, 5, 2

Definition at line 99 of file ketypes.h.

#define CP15_ITLBIMVA   15, 0, 8, 5, 1

Definition at line 98 of file ketypes.h.

#define CP15_MIDR   15, 0, 0, 0, 0

Definition at line 37 of file ketypes.h.

#define CP15_MMFR0   15, 0, 0, 1, 4

Definition at line 46 of file ketypes.h.

#define CP15_MMFR1   15, 0, 0, 1, 5

Definition at line 47 of file ketypes.h.

#define CP15_MMFR2   15, 0, 0, 1, 6

Definition at line 48 of file ketypes.h.

#define CP15_MMFR3   15, 0, 0, 1, 7

Definition at line 49 of file ketypes.h.

#define CP15_MPIDR   15, 0, 0, 0, 5

Definition at line 41 of file ketypes.h.

#define CP15_MVBAR   15, 0, 12, 0, 1

Definition at line 122 of file ketypes.h.

#define CP15_NMRR   15, 0, 10, 2, 1

Definition at line 120 of file ketypes.h.

#define CP15_NSACR   15, 0, 1, 1, 2

Definition at line 63 of file ketypes.h.

#define CP15_PAR   15, 0, 7, 4, 0

Definition at line 85 of file ketypes.h.

#define CP15_PFR0   15, 0, 0, 1, 0

Definition at line 42 of file ketypes.h.

#define CP15_PFR1   15, 0, 0, 1, 1

Definition at line 43 of file ketypes.h.

#define CP15_PMCCNTR   15, 0, 9, 13, 0

Definition at line 113 of file ketypes.h.

Referenced by KsecReadMachineSpecificCounters().

#define CP15_PMCNTENCLR   15, 0, 9, 12, 2

Definition at line 109 of file ketypes.h.

#define CP15_PMCNTENSET   15, 0, 9, 12, 1

Definition at line 108 of file ketypes.h.

#define CP15_PMCR   15, 0, 9, 12, 0

Definition at line 107 of file ketypes.h.

#define CP15_PMCR_CLKCNT_DIV   0x8

Definition at line 249 of file ketypes.h.

#define CP15_PMCR_CLKCNT_RST   0x4

Definition at line 250 of file ketypes.h.

#define CP15_PMCR_CNT_RST   0x2

Definition at line 251 of file ketypes.h.

#define CP15_PMCR_DP   0x20

Definition at line 247 of file ketypes.h.

#define CP15_PMCR_ENABLE   0x1

Definition at line 252 of file ketypes.h.

#define CP15_PMCR_X   0x10

Definition at line 248 of file ketypes.h.

#define CP15_PMINTENCLR   15, 0, 9, 14, 2

Definition at line 118 of file ketypes.h.

#define CP15_PMINTENSET   15, 0, 9, 14, 1

Definition at line 117 of file ketypes.h.

#define CP15_PMOVSR   15, 0, 9, 12, 3

Definition at line 110 of file ketypes.h.

#define CP15_PMSELR   15, 0, 9, 12, 5

Definition at line 112 of file ketypes.h.

#define CP15_PMUSERENR   15, 0, 9, 14, 0

Definition at line 116 of file ketypes.h.

#define CP15_PMXEVCNTR   15, 0, 9, 13, 2

Definition at line 115 of file ketypes.h.

#define CP15_PMXEVTYPER   15, 0, 9, 13, 1

Definition at line 114 of file ketypes.h.

#define CP15_PRRR   15, 0, 10, 2, 0

Definition at line 119 of file ketypes.h.

#define CP15_PSWINC   15, 0, 9, 12, 4

Definition at line 111 of file ketypes.h.

#define CP15_SCR   15, 0, 1, 1, 0

Definition at line 61 of file ketypes.h.

#define CP15_SCTLR   15, 0, 1, 0, 0

Definition at line 58 of file ketypes.h.

#define CP15_SDER   15, 0, 1, 1, 1

Definition at line 62 of file ketypes.h.

#define CP15_TCMTR   15, 0, 0, 0, 2

Definition at line 39 of file ketypes.h.

#define CP15_TLBIALL   15, 0, 8, 7, 0

Definition at line 103 of file ketypes.h.

#define CP15_TLBIALLIS   15, 0, 8, 3, 0

Definition at line 93 of file ketypes.h.

#define CP15_TLBIASID   15, 0, 8, 7, 2

Definition at line 105 of file ketypes.h.

#define CP15_TLBIASIDIS   15, 0, 8, 3, 2

Definition at line 95 of file ketypes.h.

#define CP15_TLBIMVA   15, 0, 8, 7, 1

Definition at line 104 of file ketypes.h.

#define CP15_TLBIMVAA   15, 0, 8, 7, 3

Definition at line 106 of file ketypes.h.

#define CP15_TLBIMVAAIS   15, 0, 8, 3, 3

Definition at line 96 of file ketypes.h.

#define CP15_TLBIMVAIS   15, 0, 8, 3, 1

Definition at line 94 of file ketypes.h.

#define CP15_TLBTR   15, 0, 0, 0, 3

Definition at line 40 of file ketypes.h.

#define CP15_TPIDRPRW   15, 0, 13, 0, 4

Definition at line 127 of file ketypes.h.

#define CP15_TPIDRURO   15, 0, 13, 0, 3

Definition at line 126 of file ketypes.h.

#define CP15_TPIDRURW   15, 0, 13, 0, 2

Definition at line 125 of file ketypes.h.

#define CP15_TTBCR   15, 0, 2, 0, 2

Definition at line 66 of file ketypes.h.

#define CP15_TTBR0   15, 0, 2, 0, 0

Definition at line 64 of file ketypes.h.

#define CP15_TTBR1   15, 0, 2, 0, 1

Definition at line 65 of file ketypes.h.

#define CP15_TTBRx_PD_MASK   0xffffc000

Definition at line 174 of file ketypes.h.

#define CP15_VBAR   15, 0, 12, 0, 0

Definition at line 121 of file ketypes.h.

#define CPSR_IT_MASK   0x600fc00

Definition at line 195 of file ketypes.h.

#define CPSRC_ABORT   0x100

Definition at line 227 of file ketypes.h.

#define CPSRC_INT   0x80

Definition at line 226 of file ketypes.h.

#define CPSRC_THUMB   0x20

Definition at line 228 of file ketypes.h.

#define CPSRF_C   0x20000000

Definition at line 192 of file ketypes.h.

#define CPSRF_N   0x80000000

Definition at line 190 of file ketypes.h.

#define CPSRF_Q   0x08000000

Definition at line 194 of file ketypes.h.

#define CPSRF_V   0x10000000

Definition at line 193 of file ketypes.h.

#define CPSRF_Z   0x40000000

Definition at line 191 of file ketypes.h.

#define CPSRM_ABT   0x17

Definition at line 184 of file ketypes.h.

#define CPSRM_FIQ   0x11

Definition at line 181 of file ketypes.h.

#define CPSRM_INT   0x12

Definition at line 182 of file ketypes.h.

#define CPSRM_MASK   0x1f

Definition at line 187 of file ketypes.h.

#define CPSRM_SVC   0x13

Definition at line 183 of file ketypes.h.

#define CPSRM_SYS   0x1f

Definition at line 186 of file ketypes.h.

#define CPSRM_UDF   0x1b

Definition at line 185 of file ketypes.h.

#define CPSRM_USER   0x10

Definition at line 180 of file ketypes.h.

#define CPVFP_FPEXC   10, 7, 8, 0, 0

Definition at line 173 of file ketypes.h.

#define CPVFP_FPSCR   10, 7, 1, 0, 0

Definition at line 170 of file ketypes.h.

#define CPVFP_FPSID   10, 7, 0, 0, 0

Definition at line 169 of file ketypes.h.

#define CPVFP_MVFR0   10, 7, 7, 0, 0

Definition at line 172 of file ketypes.h.

#define CPVFP_MVFR1   10, 7, 6, 0, 0

Definition at line 171 of file ketypes.h.

#define FPSCR_DZC   0x2

Definition at line 223 of file ketypes.h.

#define FPSCR_DZE   0x200

Definition at line 217 of file ketypes.h.

#define FPSCR_IDC   0x80

Definition at line 219 of file ketypes.h.

#define FPSCR_IDE   0x8000

Definition at line 213 of file ketypes.h.

#define FPSCR_IOC   0x1

Definition at line 224 of file ketypes.h.

#define FPSCR_IOE   0x100

Definition at line 218 of file ketypes.h.

#define FPSCR_IXC   0x10

Definition at line 220 of file ketypes.h.

#define FPSCR_IXE   0x1000

Definition at line 214 of file ketypes.h.

#define FPSCR_OFC   0x4

Definition at line 222 of file ketypes.h.

#define FPSCR_OFE   0x400

Definition at line 216 of file ketypes.h.

#define FPSCR_UFC   0x8

Definition at line 221 of file ketypes.h.

#define FPSCR_UFE   0x800

Definition at line 215 of file ketypes.h.

#define FPSCRF_C   0x20000000

Definition at line 199 of file ketypes.h.

#define FPSCRF_N   0x80000000

Definition at line 197 of file ketypes.h.

#define FPSCRF_QC   0x08000000

Definition at line 201 of file ketypes.h.

#define FPSCRF_V   0x10000000

Definition at line 200 of file ketypes.h.

#define FPSCRF_Z   0x40000000

Definition at line 198 of file ketypes.h.

#define FPSCRM_AHP   0x4000000

Definition at line 203 of file ketypes.h.

#define FPSCRM_DEPRECATED   0x370000

Definition at line 211 of file ketypes.h.

#define FPSCRM_DN   0x2000000

Definition at line 204 of file ketypes.h.

#define FPSCRM_FZ   0x1000000

Definition at line 205 of file ketypes.h.

#define FPSCRM_RMODE_MASK   0xc00000

Definition at line 206 of file ketypes.h.

#define FPSCRM_RMODE_RM   0x800000

Definition at line 209 of file ketypes.h.

#define FPSCRM_RMODE_RN   0x0

Definition at line 207 of file ketypes.h.

#define FPSCRM_RMODE_RP   0x400000

Definition at line 208 of file ketypes.h.

#define FPSCRM_RMODE_RZ   0xc00000

Definition at line 210 of file ketypes.h.

#define INITIAL_STALL_COUNT   100

Definition at line 287 of file ketypes.h.

#define IPI_APC   1

Definition at line 266 of file ketypes.h.

#define IPI_DPC   2

Definition at line 267 of file ketypes.h.

#define IPI_FREEZE   4

Definition at line 268 of file ketypes.h.

#define IPI_PACKET_READY   6

Definition at line 269 of file ketypes.h.

#define IPI_SYNCH_REQUEST   16

Definition at line 270 of file ketypes.h.

#define KeGetCurrentIrql ( )    KeGetPcr()->CurrentIrql

Definition at line 1076 of file ketypes.h.

#define KeGetCurrentThread ( )    _KeGetCurrentThread()

Definition at line 1080 of file ketypes.h.

#define KSEG0_BASE   0x80000000

Definition at line 294 of file ketypes.h.

Definition at line 282 of file ketypes.h.

Referenced by NtSetLdtEntries(), and PspQueryDescriptorThread().

#define MM_HAL_VA_END   0xFFFFFFFF

Definition at line 289 of file ketypes.h.

#define MM_HAL_VA_START   0xFFC00000

Definition at line 288 of file ketypes.h.

#define NUMBER_POOL_LOOKASIDE_LISTS   32

Definition at line 299 of file ketypes.h.

#define PRCB_BUILD_DEBUG   1

Definition at line 276 of file ketypes.h.

#define PRCB_BUILD_UNIPROCESSOR   2

Definition at line 277 of file ketypes.h.

#define PRCB_MAJOR_VERSION   1

Definition at line 275 of file ketypes.h.

#define SWFS_ALIGN_FAULT   0x20

Definition at line 231 of file ketypes.h.

#define SWFS_DEBUG_FAULT   0x80

Definition at line 233 of file ketypes.h.

#define SWFS_EXECUTE   0x8

Definition at line 234 of file ketypes.h.

#define SWFS_HWERR_FAULT   0x40

Definition at line 232 of file ketypes.h.

#define SWFS_PAGE_FAULT   0x10

Definition at line 230 of file ketypes.h.

#define SWFS_WRITE   0x1

Definition at line 235 of file ketypes.h.

#define SYNCH_LEVEL   DISPATCH_LEVEL

Definition at line 32 of file ketypes.h.

#define SYSCALL_PSR   0x30

Definition at line 188 of file ketypes.h.

Typedef Documentation

"Custom" definition start

Definition at line 668 of file ketypes.h.

typedef struct _KIPCR KIPCR
typedef struct _KPRCB KPRCB

"Custom" definition end

Definition at line 668 of file ketypes.h.

typedef struct _KIPCR * PKIPCR
typedef struct _KPRCB * PKPRCB

Enumeration Type Documentation

Enumerator
FirstLevelDcache 
SecondLevelDcache 
FirstLevelIcache 
SecondLevelIcache 
GlobalDcache 
GlobalIcache 

Definition at line 702 of file ketypes.h.

Enumerator
Domain0 
Domain1 
Domain2 
Domain3 
Domain4 
Domain5 
Domain6 
Domain7 
Domain8 
Domain9 
Domain10 
Domain11 
Domain12 
Domain13 
Domain14 
Domain15 

Definition at line 557 of file ketypes.h.

558 {
559  Domain0,
560  Domain1,
561  Domain2,
562  Domain3,
563  Domain4,
564  Domain5,
565  Domain6,
566  Domain7,
567  Domain8,
568  Domain9,
569  Domain10,
570  Domain11,
571  Domain12,
572  Domain13,
573  Domain14,
574  Domain15
575 } ARM_DOMAINS;
enum _ARM_DOMAINS ARM_DOMAINS

Function Documentation

C_ASSERT ( sizeof(KPROCESSOR_STATE = =0x3a0)
C_ASSERT ( FIELD_OFFSET(KPRCB, ProcessorState)  = =0x20)
C_ASSERT ( FIELD_OFFSET(KPRCB, ProcessorModel)  = =0x3C0)
C_ASSERT ( FIELD_OFFSET(KPRCB, LockQueue)  = =0x480)
C_ASSERT ( FIELD_OFFSET(KPRCB, PacketBarrier)  = =0x600)
C_ASSERT ( FIELD_OFFSET(KPRCB, Mailbox)  = =0x680)
C_ASSERT ( FIELD_OFFSET(KPRCB, DpcData)  = =0x690)
C_ASSERT ( FIELD_OFFSET(KPRCB, DpcStack)  = =0x6c0)
C_ASSERT ( FIELD_OFFSET(KIPCR, Prcb.LegacyNumber)  = =0x580)
FORCEINLINE struct _KPRCB* KeGetCurrentPrcb ( VOID  )

Definition at line 1068 of file ketypes.h.

1069 {
1070  return KeGetPcr()->CurrentPrcb;
1071 }
#define KeGetPcr()
Definition: ke.h:25