diff options
| author | Ada Christine <adachristine18@gmail.com> | 2024-02-29 01:14:10 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2024-02-29 01:14:10 +0000 |
| commit | 9681d6a6cbde12b00beab62683b8db98f680ba2b (patch) | |
| tree | 06a6cf3cd6fc5b636fd4599a34c57f5e8d53ab00 /kjarna/efi/start.c | |
| parent | b9cae0d43fc9a56b430dbee5e7ae795b63db6ad2 (diff) | |
clear scren
Diffstat (limited to 'kjarna/efi/start.c')
| -rw-r--r-- | kjarna/efi/start.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kjarna/efi/start.c b/kjarna/efi/start.c index 1c15c2c..8ef8cbe 100644 --- a/kjarna/efi/start.c +++ b/kjarna/efi/start.c @@ -19,6 +19,8 @@ EFI_STATUS _start(EFI_HANDLE handle, EFI_SYSTEM_TABLE *system_table) struct efi_context app_context = { handle, system_table }; efi_context = &app_context; + system_table->ConOut->ClearScreen(system_table->ConOut); + if (main(0, nullptr) != 0) { efi_errno = EFI_ABORTED; |
