view boot/bootx64.c @ 6:a394e109feeb

new executable file
author taiki
date Tue, 18 Dec 2012 17:55:09 +0900
parents cae91de64e26
children c778c27450cc
line wrap: on
line source

#include <efi.h>
#include <efilib.h>

EFI_STATUS
efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *system_table)
{
    SIMPLE_TEXT_OUTPUT_INTERFACE *conout;

    conout = system_table->ConOut;
    InitializeLib(image, system_table);
    uefi_call_wrapper(conout->OutputString, 2, conout, L"Hello World\n\r");
    EFI_STATUS ret = EFI_SUCCESS;
    return ret;
}