[SDK] Allow use of SYSTEM_MEMORY_LIST_INFORMATION in kernel code
authorAndrew Boyarshin <andrew.boyarshin@gmail.com>
Sun, 25 Nov 2018 07:45:16 +0000 (14:45 +0700)
committerColin Finck <colin@reactos.org>
Fri, 30 Nov 2018 09:21:12 +0000 (10:21 +0100)
sdk/include/ndk/extypes.h

index adf1371..5c3ba03 100644 (file)
@@ -1511,23 +1511,23 @@ typedef struct _SYSTEM_FIRMWARE_TABLE_INFORMATION
     UCHAR TableBuffer[1];
 } SYSTEM_FIRMWARE_TABLE_INFORMATION, *PSYSTEM_FIRMWARE_TABLE_INFORMATION;
 
+#endif // !NTOS_MODE_USER
+
 //
-// Class 81
+// Class 80
 //
 typedef struct _SYSTEM_MEMORY_LIST_INFORMATION
 {
-   SIZE_T ZeroPageCount;
-   SIZE_T FreePageCount;
-   SIZE_T ModifiedPageCount;
-   SIZE_T ModifiedNoWritePageCount;
-   SIZE_T BadPageCount;
-   SIZE_T PageCountByPriority[8];
-   SIZE_T RepurposedPagesByPriority[8];
-   SIZE_T ModifiedPageCountPageFile;
+    SIZE_T ZeroPageCount;
+    SIZE_T FreePageCount;
+    SIZE_T ModifiedPageCount;
+    SIZE_T ModifiedNoWritePageCount;
+    SIZE_T BadPageCount;
+    SIZE_T PageCountByPriority[8];
+    SIZE_T RepurposedPagesByPriority[8];
+    SIZE_T ModifiedPageCountPageFile;
 } SYSTEM_MEMORY_LIST_INFORMATION, *PSYSTEM_MEMORY_LIST_INFORMATION;
 
-#endif // !NTOS_MODE_USER
-
 #ifdef __cplusplus
 }; // extern "C"
 #endif