Author: tkreuzer
Date: Sat Aug 30 19:07:08 2008
New Revision: 35824
URL:
http://svn.reactos.org/svn/reactos?rev=35824&view=rev
Log:
Move KeGetPcr from NDK to winddk.h
Modified:
branches/ros-amd64-bringup/reactos/include/ddk/winddk.h
branches/ros-amd64-bringup/reactos/include/ndk/ketypes.h
Modified: branches/ros-amd64-bringup/reactos/include/ddk/winddk.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ddk/winddk.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/ddk/winddk.h [iso-8859-1] Sat Aug 30
19:07:08 2008
@@ -5438,6 +5438,8 @@
ULONG HalReserved[16]; // For use by Hal
} KPCR, *PKPCR; /* 54 */
+#define KeGetPcr() PCR
+
typedef struct _KFLOATING_SAVE {
ULONG ControlWord;
ULONG StatusWord;
@@ -5655,6 +5657,8 @@
UCHAR Number; /* 51 */
} KPCR, *PKPCR; /* 54 */
+#define KeGetPcr() PCR
+
static __inline
ULONG
DDKAPI
@@ -5688,6 +5692,8 @@
ULONG IRR; /* 28 */
ULONG IDR; /* 30 */
} KPCR, *PKPCR;
+
+#define KeGetPcr() PCR
typedef struct _KFLOATING_SAVE {
} KFLOATING_SAVE, *PKFLOATING_SAVE;
Modified: branches/ros-amd64-bringup/reactos/include/ndk/ketypes.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ndk/ketypes.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/ndk/ketypes.h [iso-8859-1] Sat Aug 30
19:07:08 2008
@@ -106,11 +106,6 @@
#else
#define KINTERRUPT_DISPATCH_CODES 106
#endif
-
-//
-// Get KPCR
-//
-#define KeGetPcr() PCR
#ifdef NTOS_MODE_USER