48 extern bool allocator_init(
void);
49 extern void allocator_fini(
void);
50 extern void segment_init(
void);
52 extern void *get_base_pointer(
GID_t gid);
54 extern void initialize_memory_map(
struct lp_struct *lp);
55 extern void finalize_memory_map(
struct lp_struct *lp);
57 extern struct slab_chain *slab_init(
const size_t itemsize);
59 extern void slab_free(
struct slab_chain *,
const void *
const addr);
70 extern inline void *rsalloc(
size_t);
71 extern inline void *rszalloc(
size_t size);
72 extern inline void rsfree(
void *);
73 extern inline void *rsrealloc(
void *,
size_t);
74 extern inline void *rscalloc(
size_t,
size_t);
76 extern void malloc_state_wipe(
struct memory_map *);
Structure for LP's state.
Core ROOT-Sim functionalities.
double simtime_t
This defines the type with whom timestamps are represented.
void * log_state(struct lp_struct *)
void log_restore(struct lp_struct *, state_t *)
Definition of the memory map.
void * log_full(struct lp_struct *)