From 5a4296bceca211261dd5f980d28f2defce9c09da Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 19 Jun 2005 01:10:08 +0000 Subject: [PATCH] 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 --- reactos/ntoskrnl/include/ntoskrnl.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/reactos/ntoskrnl/include/ntoskrnl.h b/reactos/ntoskrnl/include/ntoskrnl.h index 063783d5747..5788bf0f15c 100755 --- a/reactos/ntoskrnl/include/ntoskrnl.h +++ b/reactos/ntoskrnl/include/ntoskrnl.h @@ -74,32 +74,4 @@ #include #include -#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 */