Memory heap and allocator
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user