diff options
Diffstat (limited to 'src/include/kernel/heapmgr.H')
-rw-r--r-- | src/include/kernel/heapmgr.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/kernel/heapmgr.H b/src/include/kernel/heapmgr.H index 41a3e2cf5..6e189da93 100644 --- a/src/include/kernel/heapmgr.H +++ b/src/include/kernel/heapmgr.H @@ -7,12 +7,16 @@ class HeapManager { public: + static void init(); + static void* allocate(size_t n); static void free(void *); enum { BUCKETS = 8, + + MAX_ALLOC_SIZE = (1 << (BUCKETS + 4)) - 8, }; protected: |