mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-21 18:44:01 +00:00
doom1
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
#include <clks/string.h>
|
||||
#include <clks/types.h>
|
||||
|
||||
#define CLKS_HEAP_ARENA_SIZE (1024ULL * 1024ULL)
|
||||
#ifndef CLKS_CFG_HEAP_ARENA_SIZE
|
||||
#define CLKS_CFG_HEAP_ARENA_SIZE (64ULL * 1024ULL * 1024ULL)
|
||||
#endif
|
||||
|
||||
#define CLKS_HEAP_ARENA_SIZE CLKS_CFG_HEAP_ARENA_SIZE
|
||||
#define CLKS_HEAP_ALIGN 16ULL
|
||||
#define CLKS_HEAP_MAGIC 0x434C454F4E4F534FULL
|
||||
|
||||
@@ -173,4 +177,4 @@ struct clks_heap_stats clks_heap_get_stats(void) {
|
||||
stats.free_count = clks_heap_free_count;
|
||||
|
||||
return stats;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user