From a1ee35bdb225da2463ed12dea7eca2e111d15840 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Sun, 3 Sep 2023 14:33:43 +0200 Subject: [PATCH] [NDK] mmtypes.h: Fix a copypasta in a comment --- sdk/include/ndk/mmtypes.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sdk/include/ndk/mmtypes.h b/sdk/include/ndk/mmtypes.h index f33d5cc8b14..56e918d5c2f 100644 --- a/sdk/include/ndk/mmtypes.h +++ b/sdk/include/ndk/mmtypes.h @@ -79,6 +79,7 @@ extern "C" { #define MEM_EXECUTE_OPTION_VALID_FLAGS 0x3F #ifndef NTOS_MODE_USER + // // Virtual Memory Flags // @@ -100,11 +101,13 @@ extern "C" { #define SEC_NOCACHE 0x10000000 #define SEC_WRITECOMBINE 0x40000000 #define SEC_LARGE_PAGES 0x80000000 -#else + +#else // NTOS_MODE_USER + #define SEC_BASED 0x200000 // -// Section Inherit Flags for NtCreateSection +// Section Inherit Flags for NtMapViewOfSection // typedef enum _SECTION_INHERIT { @@ -139,7 +142,8 @@ typedef enum _POOL_TYPE PagedPoolCacheAlignedSession, NonPagedPoolCacheAlignedMustSSession } POOL_TYPE; -#endif + +#endif // NTOS_MODE_USER // // Memory Manager Page Lists @@ -208,7 +212,6 @@ typedef enum _MI_VAD_TYPE } MI_VAD_TYPE, *PMI_VAD_TYPE; #ifdef NTOS_MODE_USER - // // Virtual Memory Counters //