/reactos/hal/halx86/mp/ |
H A D | mpsirql.c | 36 irql = __readfsbyte(FIELD_OFFSET(KPCR, Irql)); in KeGetCurrentIrql() 64 __writefsbyte(FIELD_OFFSET(KPCR, Irql), NewIrql); in KeSetCurrentIrql() 87 DpcRequested = __readfsbyte(FIELD_OFFSET(KPCR, HalReserved[HAL_DPC_REQUEST])); in HalpLowerIrql() 90 __writefsbyte(FIELD_OFFSET(KPCR, HalReserved[HAL_DPC_REQUEST]), 0); in HalpLowerIrql() 341 __writefsbyte(FIELD_OFFSET(KPCR, HalReserved[HAL_APC_REQUEST]), 1); in HalRequestSoftwareInterrupt() 345 __writefsbyte(FIELD_OFFSET(KPCR, HalReserved[HAL_DPC_REQUEST]), 1); in HalRequestSoftwareInterrupt()
|
/reactos/ntoskrnl/kd64/ |
H A D | kddata.c | 23 #define KPCR KIPCR macro 28 #define KPCR_SELF_PCR_OFFSET FIELD_OFFSET(KPCR, SelfPcr) 29 #define KPCR_CURRENT_PRCB_OFFSET FIELD_OFFSET(KPCR, Prcb) 30 #define KPCR_CONTAINED_PRCB_OFFSET FIELD_OFFSET(KPCR, PrcbData) 38 #define KPCR_SELF_PCR_OFFSET FIELD_OFFSET(KPCR, Self) 39 #define KPCR_CURRENT_PRCB_OFFSET FIELD_OFFSET(KPCR, CurrentPrcb) 40 #define KPCR_CONTAINED_PRCB_OFFSET FIELD_OFFSET(KPCR, Prcb) 51 #define KPCR_INITIAL_STACK_OFFSET FIELD_OFFSET(KPCR, InitialStack) 52 #define KPCR_STACK_LIMIT_OFFSET FIELD_OFFSET(KPCR, StackLimit) 642 sizeof(KPCR),
|
/reactos/ntoskrnl/include/internal/ |
H A D | ntoskrnl.h | 142 C_ASSERT(FIELD_OFFSET(KPCR, NtTib.ExceptionList) == KPCR_EXCEPTION_LIST); 143 C_ASSERT(FIELD_OFFSET(KPCR, SelfPcr) == KPCR_SELF); 144 C_ASSERT(FIELD_OFFSET(KPCR, IRR) == KPCR_IRR); 145 C_ASSERT(FIELD_OFFSET(KPCR, IDR) == KPCR_IDR); 146 C_ASSERT(FIELD_OFFSET(KPCR, Irql) == KPCR_IRQL);
|
/reactos/sdk/include/xdk/ppc/ |
H A D | ke.h | 62 } KPCR, *PKPCR; /* 54 */ typedef 77 : "i" (FIELD_OFFSET(KPCR, Number)) in KeGetCurrentProcessorNumber()
|
/reactos/sdk/include/xdk/x86/ |
H A D | ke.h | 324 } KPCR, *PKPCR; typedef 334 return (PKPCR)__readfsdword(FIELD_OFFSET(KPCR, SelfPcr)); 345 return (ULONG)__readfsbyte(FIELD_OFFSET(KPCR, Number)); in KeGetCurrentProcessorNumber()
|
/reactos/sdk/include/reactos/arm/ |
H A D | armddk.h | 5 #define USERPCR ((volatile KPCR * const)USPCR)
|
/reactos/sdk/include/xdk/mips/ |
H A D | ke.h | 24 } KPCR, *PKPCR; typedef
|
/reactos/sdk/include/xdk/amd64/ |
H A D | ke.h | 327 } KPCR, *PKPCR; typedef 333 return (PKPCR)__readgsqword(FIELD_OFFSET(KPCR, Self)); in KeGetPcr()
|
/reactos/sdk/include/ndk/i386/ |
H A D | ketypes.h | 76 #define PCR ((KPCR *)K0IPCR) 79 #define KeGetPcr() ((KPCR *)__readfsdword(FIELD_OFFSET(KPCR, SelfPcr))) 461 return (struct _KPRCB *)(ULONG_PTR)__readfsdword(FIELD_OFFSET(KPCR, Prcb)); in KeGetCurrentPrcb()
|
/reactos/hal/halx86/apic/ |
H A D | apic.c | 212 return (KIRQL)__readfsbyte(FIELD_OFFSET(KPCR, Irql)); in ApicGetCurrentIrql() 226 __writefsbyte(FIELD_OFFSET(KPCR, Irql), Irql); in ApicSetIrql() 239 __writefsbyte(FIELD_OFFSET(KPCR, Irql), Irql); in ApicLowerIrql()
|
/reactos/ntoskrnl/include/internal/arm/ |
H A D | ke.h | 8 #define PCR ((KPCR * const)KIP0PCRADDRESS)
|
/reactos/sdk/include/asm/ |
H A D | ks386.template.h | 588 OFFSET(KPCR_EXCEPTION_LIST, KPCR, NtTib.ExceptionList), 590 OFFSET(KPCR_CONTEXT_SWITCHES, KPCR, ContextSwitches), 593 OFFSET(KPCR_PRCB, KPCR, Prcb), 596 OFFSET(KPCR_TSS, KPCR, TSS), 597 OFFSET(KPCR_STALL_SCALE_FACTOR, KPCR, StallScaleFactor),
|
H A D | ksamd64.template.h | 579 OFFSET(PcUserRsp, KPCR, UserRsp), 580 OFFSET(PcSelf, KPCR, Self), 581 OFFSET(PcCurrentPrcb, KPCR, CurrentPrcb), 582 OFFSET(PcLockArray, KPCR, LockArray), 585 OFFSET(PcIrql, KPCR, Irql), 586 OFFSET(PcStallScaleFactor, KPCR, StallScaleFactor), 587 OFFSET(PcHalReserved, KPCR, HalReserved),
|
/reactos/sdk/include/xdk/arm/ |
H A D | ke.h | 334 } KPCR, *PKPCR; typedef
|