Clear screen on startup
This commit is contained in:
parent
ccaa5db1f5
commit
8b3c4477eb
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user