mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
fix PCR
svn path=/branches/ros-amd64-bringup/; revision=35823
This commit is contained in:
@@ -30,7 +30,7 @@ Author:
|
||||
//
|
||||
//#define K0IPCR ((ULONG_PTR)(KIP0PCRADDRESS))
|
||||
//#define PCR ((volatile KPCR * const)K0IPCR)
|
||||
#define PCR 0 // HACK
|
||||
#define PCR ((volatile KPCR * const)__readgsqword(KPCR_SELF))
|
||||
//#if defined(CONFIG_SMP) || defined(NT_BUILD)
|
||||
//#undef KeGetPcr
|
||||
//#define KeGetPcr() ((volatile KPCR * const)__readfsdword(0x1C))
|
||||
|
||||
Reference in New Issue
Block a user