Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
454 bytes
|
Line | |
---|
1 | #include <efi.h> |
---|
2 | #include <efilib.h> |
---|
3 | |
---|
4 | EFI_STATUS |
---|
5 | efi_main (EFI_HANDLE *image, EFI_SYSTEM_TABLE *systab) |
---|
6 | { |
---|
7 | UINTN index; |
---|
8 | |
---|
9 | uefi_call_wrapper(systab->ConOut->OutputString, 2, systab->ConOut, L"Hello application started\r\n"); |
---|
10 | uefi_call_wrapper(systab->ConOut->OutputString, 2, systab->ConOut, L"\r\n\r\n\r\nHit any key to exit\r\n"); |
---|
11 | uefi_call_wrapper(systab->BootServices->WaitForEvent, 3, 1, &systab->ConIn->WaitForKey, &index); |
---|
12 | return EFI_SUCCESS; |
---|
13 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.