correct location for memory free_list

This commit is contained in:
Liam Kerr 2026-02-09 21:50:16 +00:00
parent dec7c42cfd
commit 4c0a4958a2
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,8 @@
#include "memory.h"
#include "interrupts.h"
static struct Page *free_list = NULL;
HeapHeader *heap_free_list;
extern uint8_t _heap_start[]; // named in the linker script

View file

@ -16,8 +16,6 @@ typedef struct HeapHeader
struct HeapHeader *prev;
} HeapHeader;
static struct Page *free_list = NULL;
void page_init();
void page_free(void *addr);
void *page_alloc();