aboutsummaryrefslogtreecommitdiff
path: root/include/kern/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kern/mem.h')
-rw-r--r--include/kern/mem.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/kern/mem.h b/include/kern/mem.h
index 832d31d..2af49cb 100644
--- a/include/kern/mem.h
+++ b/include/kern/mem.h
@@ -4,12 +4,6 @@
#include "arch.h"
#include <stddef.h>
-#define DATA_SEGMENT_STOP_ADDR ((uint8_t*) &DATA_SEGMENT_STOP)
-#define DATA_SEGMENT_START_ADDR ((uint8_t*) &DATA_SEGMENT_START)
-
-#define MAX_HEAP_SIZE \
- ((16384 - (DATA_SEGMENT_STOP_ADDR - DATA_SEGMENT_START_ADDR)) / 4 * 4)
-
/* allocates memory on the head, which is stored in sram2 */
void* kalloc(size_t n);