|
@@ -18,13 +18,16 @@
|
|
#ifndef OTHER_H
|
|
#ifndef OTHER_H
|
|
#define OTHER_H
|
|
#define OTHER_H
|
|
|
|
|
|
|
|
+#include "dmm_config.h"
|
|
#include <dmmlib/heap.h>
|
|
#include <dmmlib/heap.h>
|
|
|
|
|
|
size_t req_padding(size_t size);
|
|
size_t req_padding(size_t size);
|
|
|
|
|
|
int map_size_to_list(heap_t *heap, size_t sz);
|
|
int map_size_to_list(heap_t *heap, size_t sz);
|
|
|
|
|
|
|
|
+#ifndef WITH_MEMORY_SPACE_AWARENESS
|
|
int map_thread_heap(void);
|
|
int map_thread_heap(void);
|
|
|
|
+#endif /* WITH_MEMORY_SPACE_AWARENESS */
|
|
|
|
|
|
#endif /* OTHER_H */
|
|
#endif /* OTHER_H */
|
|
|
|
|