factor page alignment into function call...place near existing call
[c11tester.git] / snapshot.h
index 16d9cd76a30dd3e6d99874b2fb565813b31241b1..4625c5d5cfaa7c39cd03087462da86858da0c371 100644 (file)
@@ -3,9 +3,10 @@
 #define PAGESIZE 4096
 #define USE_CHECKPOINTING 1
 
+
 typedef unsigned int snapshot_id;
 typedef void (*MyFuncPtr)();
-void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, MyFuncPtr entryPoint);
+void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, unsigned int numheappages, MyFuncPtr entryPoint);
 
 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages );