Update kmalloc.c

Safer 1MB heap. Original value would have caused a heap overflow
This commit is contained in:
2025-11-10 02:51:56 -08:00
committed by GitHub
parent 056d3eb374
commit f2e75c5142

View File

@@ -1,7 +1,7 @@
#include "kmalloc.h" #include "kmalloc.h"
#include "terminal.h" // Optional: for debug output #include "terminal.h" // Optional: for debug output
#define HEAP_END 0xC0100000 #define HEAP_END 0xC0500000
static uint32_t current_heap = 0; static uint32_t current_heap = 0;