mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:02:56 +00:00
[FREELDR][NDK][X64] Remove KIP0PCRADDRESS definition and mapping
It is not used by either ReactOS or Windows.
This commit is contained in:
parent
4e5e72fa12
commit
bed8b2a0a6
3 changed files with 10 additions and 32 deletions
|
@ -80,17 +80,6 @@ Author:
|
|||
#define KF_FPU_LEAKAGE_BIT 41 // From ksamd64.inc (0x29 -> 0x20000000000)
|
||||
#define KF_CAT_BIT 44 // From ksamd64.inc (0x2C -> 0x100000000000)
|
||||
|
||||
//
|
||||
// KPCR Access for non-IA64 builds
|
||||
//
|
||||
//#define K0IPCR ((ULONG_PTR)(KIP0PCRADDRESS))
|
||||
//#define PCR ((volatile KPCR * const)K0IPCR)
|
||||
#define PCR ((volatile KPCR * const)__readgsqword(FIELD_OFFSET(KPCR, Self)))
|
||||
//#if defined(CONFIG_SMP) || defined(NT_BUILD)
|
||||
//#undef KeGetPcr
|
||||
//#define KeGetPcr() ((volatile KPCR * const)__readfsdword(0x1C))
|
||||
//#endif
|
||||
|
||||
//
|
||||
// Double fault stack size
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue