gnu-efi/apps/t5.c

14 lines
370 B
C
Raw Normal View History

2013-01-31 01:25:25 +04:00
#include <efi.h>
#include <efilib.h>
EFI_STATUS
efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
{
InitializeLib(image, systab);
Print(u"HelloLib application started\n");
Print(u"\n\n\nHit any key to exit this image\n");
2013-01-31 01:25:25 +04:00
WaitForSingleEvent(ST->ConIn->WaitForKey, 0);
uefi_call_wrapper(ST->ConOut->OutputString, 2, ST->ConOut, u"\n\n");
2013-01-31 01:25:25 +04:00
return EFI_SUCCESS;
}