summaryrefslogtreecommitdiff
path: root/api/loader/efi
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-12-19 01:16:51 +0000
committerAda Christine <adachristine18@gmail.com>2021-12-19 01:16:51 +0000
commitbff63a4337eb3388617d230970c5eb2684d6a215 (patch)
treef40891f45918b23dac0f31888142136434c7fc8c /api/loader/efi
parentd5f485a4f6801f58cbb2bc9d8e80c955c79ff044 (diff)
i don't know what i'm doing anymore
Diffstat (limited to 'api/loader/efi')
-rw-r--r--api/loader/efi/shim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/loader/efi/shim.h b/api/loader/efi/shim.h
index 9421cc3..0255361 100644
--- a/api/loader/efi/shim.h
+++ b/api/loader/efi/shim.h
@@ -16,7 +16,6 @@
struct efi_loader_image
{
CHAR16 *path;
- EFI_HANDLE image_handle;
EFI_SYSTEM_TABLE *system_table;
EFI_FILE_PROTOCOL *root;
EFI_FILE_PROTOCOL *file;
@@ -32,6 +31,9 @@ typedef EFI_STATUS (*efi_page_free_func)(EFI_PHYSICAL_ADDRESS base, UINTN size);
struct efi_loader_interface
{
+ EFI_HANDLE image_handle;
+ EFI_SYSTEM_TABLE *system_table;
+
efi_page_alloc_func page_alloc;
efi_page_free_func page_free;