Nucleus
Barry Stack-based page frame allocator 4f822f6 (3 years, 3 months ago)#ifndef MEMORY_H #define MEMORY_H #include <stdint.h> #include <stddef.h> #define PAGE_SIZE 0x1000 uintptr_t alloc_frame(void); void free_frame(uintptr_t frame); void init_frames(size_t memMapSize, void *memMap); #endif