Memory heap and allocator

This commit is contained in:
2026-02-26 20:24:56 +00:00
parent c2dd9d1e89
commit 770526efae
7 changed files with 603 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ typedef struct {
EFI_STATUS (*set_attribute)(UINTN Attribute);
EFI_STATUS (*read_key)(EFI_INPUT_KEY *Key);
void (*shutdown)(void);
EFI_STATUS (*alloc_pages)(UINTN pages, EFI_PHYSICAL_ADDRESS *addr);
EFI_STATUS (*free_pages)(EFI_PHYSICAL_ADDRESS addr, UINTN pages);
} BootInfo;
typedef void (*KernelEntryFn)(BootInfo *Boot);