formatting

This commit is contained in:
Liam Kerr 2026-02-09 18:55:51 +00:00
parent 821716adcc
commit 9e91024f35
9 changed files with 295 additions and 199 deletions

View file

@ -3,15 +3,17 @@
#define PAGE_SIZE 4096
typedef struct Page {
typedef struct Page
{
struct Page *next;
} Page;
typedef struct HeapHeader {
typedef struct HeapHeader
{
size_t size;
int is_free;
struct HeapHeader *next;
struct HeapHeader *prev;
struct HeapHeader *prev;
} HeapHeader;
static struct Page *free_list = NULL;