mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
fix PCR
svn path=/branches/ros-amd64-bringup/; revision=35823
This commit is contained in:
parent
6ba21a4f75
commit
75c2238736
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue