Author: tkreuzer
Date: Wed Jul 23 18:18:45 2008
New Revision: 34712
URL:
http://svn.reactos.org/svn/reactos?rev=34712&view=rev
Log:
fix KeGetCurrentPrcb() inline function
Modified:
branches/ros-amd64-bringup/reactos/include/ndk/amd64/ketypes.h
Modified: branches/ros-amd64-bringup/reactos/include/ndk/amd64/ketypes.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ndk/amd64/ketypes.h [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/include/ndk/amd64/ketypes.h [iso-8859-1] Wed Jul 23
18:18:45 2008
@@ -296,7 +296,7 @@
struct _KPRCB *
KeGetCurrentPrcb(VOID)
{
- return (struct _KPRCB *)(ULONG_PTR)__readfsdword(FIELD_OFFSET(KPCR, Prcb));
+ return (struct _KPRCB *)(ULONG_PTR)__readgsqword(FIELD_OFFSET(KPCR, Prcb));
}
//