gnu-efi/apps/t2.c
raw| 1 | #include <efi.h> |
| 2 | #include <efilib.h> |
| 3 | |
| 4 | EFI_STATUS |
| 5 | efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) |
| 6 | { |
| 7 | SIMPLE_TEXT_OUTPUT_INTERFACE *conout; |
| 8 | |
| 9 | InitializeLib(image, systab); |
| 10 | conout = systab->ConOut; |
| 11 | uefi_call_wrapper(conout->OutputString, 2, conout, L"Hello World!\n\r"); |
| 12 | |
| 13 | return EFI_SUCCESS; |
| 14 | } |