X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=snapshot.h;h=8d37934b81be0504caa7ed7f8b93df4addc24c23;hb=3b08bb3248c8f63fc1c54da23da471cab0fe7239;hp=f8995923184d934a5a7a8560832736f6e2c6d5a3;hpb=1dbc6ce8102e79ead8c3ae09214126abab1b5c51;p=model-checker.git diff --git a/snapshot.h b/snapshot.h index f899592..8d37934 100644 --- a/snapshot.h +++ b/snapshot.h @@ -7,13 +7,14 @@ #include "snapshot-interface.h" #include "config.h" +#include "mymemory.h" -void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages ); -snapshot_id takeSnapshot( ); -void rollBack( snapshot_id theSnapShot ); +void addMemoryRegionToSnapShot(void *ptr, unsigned int numPages); +snapshot_id takeSnapshot(); +void rollBack(snapshot_id theSnapShot); #if !USE_MPROTECT_SNAPSHOT -void createSharedMemory(); +mspace create_shared_mspace(); #endif #endif