From 75c2238736d1d0cca7da501fa5f974ddce36385f Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 31 Aug 2008 00:04:06 +0000 Subject: [PATCH] fix PCR svn path=/branches/ros-amd64-bringup/; revision=35823 --- reactos/include/ndk/amd64/ketypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/ndk/amd64/ketypes.h b/reactos/include/ndk/amd64/ketypes.h index 7f20a779336..8099de11c1d 100644 --- a/reactos/include/ndk/amd64/ketypes.h +++ b/reactos/include/ndk/amd64/ketypes.h @@ -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))