mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 08:38:28 +00:00
Define PAGE_SIZE in winnt.h for now, for modules that don't include the NDK, and then make the NDK and WINNT.H safe to use combined
svn path=/trunk/; revision=41875
This commit is contained in:
parent
de1eda4f79
commit
8473ade2b8
|
@ -26,7 +26,9 @@ Author:
|
|||
//
|
||||
// Page-related Macros
|
||||
//
|
||||
#ifndef PAGE_SIZE
|
||||
#define PAGE_SIZE 0x1000
|
||||
#endif
|
||||
#define PAGE_SHIFT 12L
|
||||
#define MM_ALLOCATION_GRANULARITY 0x10000
|
||||
#define MM_ALLOCATION_GRANULARITY_SHIFT 16L
|
||||
|
|
|
@ -2846,6 +2846,10 @@ typedef struct _CONTEXT {
|
|||
} CONTEXT;
|
||||
#elif defined(ARM)
|
||||
|
||||
#ifndef PAGE_SIZE
|
||||
#define PAGE_SIZE 0x1000 // FIXME: This should probably go elsewhere
|
||||
#endif
|
||||
|
||||
/* The following flags control the contents of the CONTEXT structure. */
|
||||
|
||||
#define CONTEXT_ARM 0x0000040
|
||||
|
|
Loading…
Reference in a new issue