correct location for memory free_list
This commit is contained in:
parent
dec7c42cfd
commit
4c0a4958a2
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue