[NDK]
[reactos.git] / reactos / include / ndk / arm / mmtypes.h
index 371b159..56fac23 100644 (file)
@@ -19,6 +19,10 @@ Author:
 #ifndef _ARM_MMTYPES_H
 #define _ARM_MMTYPES_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 //
 // Dependencies
 //
@@ -32,6 +36,7 @@ Author:
 #define PAGE_SHIFT                        12L
 #define MM_ALLOCATION_GRANULARITY         0x10000
 #define MM_ALLOCATION_GRANULARITY_SHIFT   16L
+#define MM_PAGE_FRAME_NUMBER_SIZE         20
 
 //
 // Sanity checks for Paging Macros
@@ -178,7 +183,7 @@ typedef union _MMPDE_HARDWARE
 
 typedef struct _MMPDE
 {
-    union 
+    union
     {
         MMPDE_HARDWARE Hard;
         ULONG Long;
@@ -191,4 +196,8 @@ typedef struct _MMPDE
 #define HARDWARE_PTE        HARDWARE_PTE_ARMV6
 #define PHARDWARE_PTE       PHARDWARE_PTE_ARMV6
 
+#ifdef __cplusplus
+}; // extern "C"
+#endif
+
 #endif