diff options
| author | Ada Christine <adachristine18@gmail.com> | 2024-02-22 20:05:51 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2024-02-22 20:05:51 +0000 |
| commit | aec58be40927ec0b2a0e6742396f880d52ce38b5 (patch) | |
| tree | 5336b9966808a6d0706e7469d239d1dbc11cb3e2 /kjarna/efi/start.c | |
| parent | e97aa65fc42f08fe666a9a21b69d05ab17231920 (diff) | |
kjarna runtime
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); } |
