Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master'
[simgrid.git] / src / mc / mc_mmu.h
index 7f601c1..6740829 100644 (file)
 #include <stdint.h>
 #include <stdbool.h>
 
-#include "mc_private.h"
+#include <simgrid_config.h>
+
+SG_BEGIN_DECL()
+
+extern int xbt_pagesize;
+extern int xbt_pagebits;
 
 /** @brief How many memory pages are necessary to store size bytes?
  *
@@ -67,4 +72,6 @@ bool mc_same_page(void* a, void* b)
   return ((uintptr_t) a >> xbt_pagebits) == ((uintptr_t) b >> xbt_pagebits);
 }
 
+SG_END_DECL()
+
 #endif