From fcd3e818a9f1b7009c9c027a69b2ef0e7ef71293 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Wed, 4 Jan 2023 21:41:09 +0000 Subject: use homespun efi code --- loader/main_efi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loader/main_efi.c') 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 -#include -#include +#include +#include #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')) { -- cgit v1.3.1-1-g115d