Rev 2726 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2726 | Rev 2927 | ||
---|---|---|---|
1 | #include <efi.h> |
1 | #include <efi.h> |
2 | #include <efilib.h> |
2 | #include <efilib.h> |
3 | 3 | ||
4 | EFI_STATUS |
4 | EFI_STATUS |
5 | efi_main (EFI_HANDLE *image, EFI_SYSTEM_TABLE *systab) |
5 | efi_main (EFI_HANDLE *image, EFI_SYSTEM_TABLE *systab) |
6 | { |
6 | { |
7 | UINTN index; |
7 | UINTN index; |
8 | 8 | ||
9 | systab->ConOut->OutputString(systab->ConOut, L"Hello application started\r\n"); |
9 | systab->ConOut->OutputString(systab->ConOut, L"Hello application started\r\n"); |
10 | systab->ConOut->OutputString(systab->ConOut, L"\r\n\r\n\r\nHit any key to exit\r\n"); |
10 | systab->ConOut->OutputString(systab->ConOut, L"\r\n\r\n\r\nHit any key to exit\r\n"); |
11 | systab->BootServices->WaitForEvent(1, &systab->ConIn->WaitForKey, &index); |
11 | systab->BootServices->WaitForEvent(1, &systab->ConIn->WaitForKey, &index); |
12 | return EFI_SUCCESS; |
12 | return EFI_SUCCESS; |
13 | } |
13 | } |
14 | 14 |