Remove PAGED_CODE, PAGED_CODE_RTL and RTL_ONSTANT_STRING from ntoskrnl.h. The first and last are in DDK, and the second is not used in the kernel and already defined

svn path=/trunk/; revision=16070
This commit is contained in:
Alex Ionescu
2005-06-19 01:10:08 +00:00
parent 5be76fa181
commit 5a4296bcec
-28
View File
@@ -74,32 +74,4 @@
#include <napi/teb.h>
#include <napi/win32.h>
#ifndef RTL_CONSTANT_STRING
#define RTL_CONSTANT_STRING(__SOURCE_STRING__) \
{ \
sizeof(__SOURCE_STRING__) - sizeof((__SOURCE_STRING__)[0]), \
sizeof(__SOURCE_STRING__), \
(__SOURCE_STRING__) \
}
#endif
#ifdef DBG
#ifndef PAGED_CODE
#define PAGED_CODE() \
do { \
if(KeGetCurrentIrql() > APC_LEVEL) { \
DbgPrint("%s:%i: Pagable code called at IRQL > APC_LEVEL (%d)\n", \
__FILE__, __LINE__, KeGetCurrentIrql()); \
KEBUGCHECK(0); \
} \
} while(0)
#endif
#define PAGED_CODE_RTL PAGED_CODE
#else
#ifndef PAGED_CODE
#define PAGED_CODE()
#endif
#define PAGED_CODE_RTL()
#endif
#endif /* INCLUDE_NTOSKRNL_H */