Home | History | Annotate | Line # | Download | only in apps
      1 /*	$NetBSD: t2.c,v 1.1.1.2 2018/08/16 18:17:47 jmcneill 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 	SIMPLE_TEXT_OUTPUT_INTERFACE *conout;
     10 
     11         InitializeLib(image, systab);
     12 	conout = systab->ConOut;
     13 	uefi_call_wrapper(conout->OutputString, 2, conout, L"Hello World!\n\r");
     14 
     15 	return EFI_SUCCESS;
     16 }
     17