diff options
Diffstat (limited to 'kjarna/efi/start.c')
| -rw-r--r-- | kjarna/efi/start.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kjarna/efi/start.c b/kjarna/efi/start.c index 4a10541..ebeb67d 100644 --- a/kjarna/efi/start.c +++ b/kjarna/efi/start.c @@ -19,11 +19,14 @@ EFI_STATUS _start(EFI_HANDLE handle, EFI_SYSTEM_TABLE *system_table) struct efi_context app_context = { handle, system_table }; efi_context = &app_context; + efi_write(1, "hello, efi world!\r\n", -1); + if (main(0, nullptr) != 0) { efi_errno = EFI_ABORTED; } + return _exit(efi_errno); } |
