-/* Copyright (c) 2007-2011 Da SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2012 Da SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
void MC_take_snapshot(mc_snapshot_t);
void MC_take_snapshot_liveness(mc_snapshot_t s);
-void MC_take_snapshot_to_restore_liveness(mc_snapshot_t s);
void MC_restore_snapshot(mc_snapshot_t);
void MC_free_snapshot(mc_snapshot_t);
extern void *std_heap;
extern void *raw_heap;
-/* extern int raw_heap_fd; */ /* unused */
#define STD_HEAP_SIZE 20480000 /* Maximum size of the system's heap */
/* FIXME: Horrible hack! because the mmalloc library doesn't provide yet of */
unsigned long inode; /* Inode in the device */
char *pathname; /* Path name of the mapped file */
-} s_map_region;
+} s_map_region_t;
typedef struct s_memory_map {
- s_map_region *regions; /* Pointer to an array of regions */
+ s_map_region_t *regions; /* Pointer to an array of regions */
int mapsize; /* Number of regions in the memory */
} s_memory_map_t, *memory_map_t;