summaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-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'))
{