summaryrefslogtreecommitdiff
path: root/loader/main_efi.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-01-04 21:45:32 +0000
committerAda Christine <adachristine18@gmail.com>2023-01-04 21:45:32 +0000
commitf82465735f0ba37c4ba202875936562c02538d5b (patch)
treed39de345ca87228d870465e4f28a4e22e3bf7c79 /loader/main_efi.c
parent26f81e50066e5bb7aeae218094e0f834c405a8c1 (diff)
parentfcd3e818a9f1b7009c9c027a69b2ef0e7ef71293 (diff)
Merge branch 'gnu-efi-gone'
Diffstat (limited to 'loader/main_efi.c')
-rw-r--r--loader/main_efi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/main_efi.c b/loader/main_efi.c
index 1def97a..131c7e4 100644
--- a/loader/main_efi.c
+++ b/loader/main_efi.c
@@ -2,7 +2,8 @@
#include <kernel/entry.h>
-#include <efi.h>
+#include <efi/types.h>
+#include <efi/error.h>
#include "elf.h"
#include "kstdio.h"
@@ -126,7 +127,7 @@ int kfputc(int c, FILE *f)
if (loader_interface.system_table)
{
- EFI_SIMPLE_TEXT_OUT_PROTOCOL *out = gST->ConOut;
+ EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *out = gST->ConOut;
*linebuf_ptr++ = c;
if (((linebuf_ptr - linebuf) == EFI_PAGE_SIZE - 2) || (c == L'\n'))
{