[NDK]
[reactos.git] / reactos / include / ndk / i386 / mmtypes.h
index 01bc426..cd8185c 100644 (file)
@@ -19,6 +19,10 @@ Author:
 #ifndef _I386_MMTYPES_H
 #define _I386_MMTYPES_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 //
 // Dependencies
 //
@@ -30,6 +34,12 @@ Author:
 #define PAGE_SHIFT                        12L
 #define MM_ALLOCATION_GRANULARITY         0x10000
 #define MM_ALLOCATION_GRANULARITY_SHIFT   16L
+#define MM_PAGE_FRAME_NUMBER_SIZE         20
+
+//
+// Address of the shared user page
+//
+#define MM_SHARED_USER_DATA_VA 0x7FFE0000
 
 //
 // Sanity checks for Paging Macros
@@ -166,4 +176,8 @@ typedef struct _MMPTE_HARDWARE
 #define HARDWARE_PTE        HARDWARE_PTE_X86
 #define PHARDWARE_PTE       PHARDWARE_PTE_X86
 
+#ifdef __cplusplus
+}; // extern "C"
+#endif
+
 #endif