diff --git a/reactos/include/ddk/winddk.h b/reactos/include/ddk/winddk.h index 1f0c01fdb23..6359f9bede9 100644 --- a/reactos/include/ddk/winddk.h +++ b/reactos/include/ddk/winddk.h @@ -5438,6 +5438,8 @@ typedef struct _KPCR { 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 @@ typedef struct _KPCR { UCHAR Number; /* 51 */ } KPCR, *PKPCR; /* 54 */ +#define KeGetPcr() PCR + static __inline ULONG DDKAPI @@ -5689,6 +5693,8 @@ typedef struct _KPCR { ULONG IDR; /* 30 */ } KPCR, *PKPCR; +#define KeGetPcr() PCR + typedef struct _KFLOATING_SAVE { } KFLOATING_SAVE, *PKFLOATING_SAVE; diff --git a/reactos/include/ndk/ketypes.h b/reactos/include/ndk/ketypes.h index 3255bccae23..d5393ee6b1d 100644 --- a/reactos/include/ndk/ketypes.h +++ b/reactos/include/ndk/ketypes.h @@ -107,11 +107,6 @@ Author: #define KINTERRUPT_DISPATCH_CODES 106 #endif -// -// Get KPCR -// -#define KeGetPcr() PCR - #ifdef NTOS_MODE_USER //