mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user