Clear screen on startup

This commit is contained in:
Josh Holtrop 2022-03-11 16:45:54 -05:00
parent ccaa5db1f5
commit 8b3c4477eb

View File

@ -9,6 +9,8 @@ void write_string(EFI_SYSTEM_TABLE * st, const(wchar)[] str)
extern (C) EFI_STATUS efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE * st) extern (C) EFI_STATUS efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE * st)
{ {
st.ConOut.ClearScreen(st.ConOut);
write_string(st, "Hello, D UEFI world!\r\n"w); write_string(st, "Hello, D UEFI world!\r\n"w);
write_string(st, "Press any key...\r\n"w); write_string(st, "Press any key...\r\n"w);