[NDK] mmtypes.h: Fix a copypasta in a comment

This commit is contained in:
Serge Gautherie 2023-09-03 14:33:43 +02:00 committed by Stanislav Motylkov
parent f9212e4a72
commit a1ee35bdb2

View file

@ -79,6 +79,7 @@ extern "C" {
#define MEM_EXECUTE_OPTION_VALID_FLAGS 0x3F #define MEM_EXECUTE_OPTION_VALID_FLAGS 0x3F
#ifndef NTOS_MODE_USER #ifndef NTOS_MODE_USER
// //
// Virtual Memory Flags // Virtual Memory Flags
// //
@ -100,11 +101,13 @@ extern "C" {
#define SEC_NOCACHE 0x10000000 #define SEC_NOCACHE 0x10000000
#define SEC_WRITECOMBINE 0x40000000 #define SEC_WRITECOMBINE 0x40000000
#define SEC_LARGE_PAGES 0x80000000 #define SEC_LARGE_PAGES 0x80000000
#else
#else // NTOS_MODE_USER
#define SEC_BASED 0x200000 #define SEC_BASED 0x200000
// //
// Section Inherit Flags for NtCreateSection // Section Inherit Flags for NtMapViewOfSection
// //
typedef enum _SECTION_INHERIT typedef enum _SECTION_INHERIT
{ {
@ -139,7 +142,8 @@ typedef enum _POOL_TYPE
PagedPoolCacheAlignedSession, PagedPoolCacheAlignedSession,
NonPagedPoolCacheAlignedMustSSession NonPagedPoolCacheAlignedMustSSession
} POOL_TYPE; } POOL_TYPE;
#endif
#endif // NTOS_MODE_USER
// //
// Memory Manager Page Lists // Memory Manager Page Lists
@ -208,7 +212,6 @@ typedef enum _MI_VAD_TYPE
} MI_VAD_TYPE, *PMI_VAD_TYPE; } MI_VAD_TYPE, *PMI_VAD_TYPE;
#ifdef NTOS_MODE_USER #ifdef NTOS_MODE_USER
// //
// Virtual Memory Counters // Virtual Memory Counters
// //