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