Curle
d588e232c4
This branch has been dedicated to purely the UEFI bootloader. As such, all other code has been removed. This code can be compiled with Visual Studio, gcc or llvm.
15 lines
307 B
C
15 lines
307 B
C
#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;
|
|
}
|