blob: 3e7f24c186a184368735c57623b034b8cf56dd47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* $NetBSD: t2.c,v 1.1.1.2 2018/08/16 18:17:47 jmcneill Exp $ */
#include <efi.h>
#include <efilib.h>
EFI_STATUS
efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
{
SIMPLE_TEXT_OUTPUT_INTERFACE *conout;
InitializeLib(image, systab);
conout = systab->ConOut;
uefi_call_wrapper(conout->OutputString, 2, conout, L"Hello World!\n\r");
return EFI_SUCCESS;
}
|