Home | History | Annotate | Line # | Download | only in apps
      1 /*	$NetBSD: t5.c,v 1.1.1.1 2014/04/01 16:16:06 jakllsch Exp $	*/
      2 
      3 #include <efi.h>
      4 #include <efilib.h>
      5 
      6 EFI_STATUS
      7 efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
      8 {
      9 	InitializeLib(image, systab);
     10 	Print(L"HelloLib application started\n");
     11 	Print(L"\n\n\nHit any key to exit this image\n");
     12 	WaitForSingleEvent(ST->ConIn->WaitForKey, 0);
     13 	uefi_call_wrapper(ST->ConOut->OutputString, 2, ST->ConOut, L"\n\n");
     14 	return EFI_SUCCESS;
     15 }
     16