svn path=/branches/ros-amd64-bringup/; revision=35823
This commit is contained in:
Timo Kreuzer 2008-08-31 00:04:06 +00:00
parent 6ba21a4f75
commit 75c2238736

View file

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