Rev 2726 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2726 | vana | 1 | #include <efi.h> |
| 2 | #include <efilib.h> |
||
| 3 | |||
| 4 | EFI_STATUS |
||
| 5 | efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) |
||
| 6 | { |
||
| 7 | InitializeLib(image, systab); |
||
| 8 | Print(L"HelloLib application started\n"); |
||
| 9 | Print(L"\n\n\nHit any key to exit this image\n"); |
||
| 10 | WaitForSingleEvent(ST->ConIn->WaitForKey, 0); |
||
| 11 | ST->ConOut->OutputString(ST->ConOut, L"\n\n"); |
||
| 12 | return EFI_SUCCESS; |
||
| 13 | } |