[FREELDR][NDK][X64] Remove KIP0PCRADDRESS definition and mapping

It is not used by either ReactOS or Windows.
This commit is contained in:
Timo Kreuzer 2023-05-24 14:16:23 +03:00
parent 4e5e72fa12
commit bed8b2a0a6
3 changed files with 10 additions and 32 deletions

View file

@ -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
//