summaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-01-04 21:41:09 +0000
committerAda Christine <adachristine18@gmail.com>2023-01-04 21:41:09 +0000
commitfcd3e818a9f1b7009c9c027a69b2ef0e7ef71293 (patch)
tree8ea63301dae5ba65ee92876f87dc501d032130d0 /loader
parenteb022d780afe1e5e92547b6b3c2369dde1c4cc0b (diff)
use homespun efi code
Diffstat (limited to 'loader')
-rw-r--r--loader/main_efi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/main_efi.c b/loader/main_efi.c
index 866019e..131c7e4 100644
--- a/loader/main_efi.c
+++ b/loader/main_efi.c
@@ -2,8 +2,8 @@
#include <kernel/entry.h>
-#include <efi.h>
-#include <efidebug.h>
+#include <efi/types.h>
+#include <efi/error.h>
#include "elf.h"
#include "kstdio.h"
@@ -127,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'))
{