Mercurial > hg > Members > taiki > EFIKernel
changeset 6:a394e109feeb
new executable file
author | taiki |
---|---|
date | Tue, 18 Dec 2012 17:55:09 +0900 |
parents | 4b51f0c01fa7 |
children | c778c27450cc |
files | boot/bootx64.c boot/bootx64.efi |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/boot/bootx64.c Tue Dec 18 17:01:31 2012 +0900 +++ b/boot/bootx64.c Tue Dec 18 17:55:09 2012 +0900 @@ -2,8 +2,13 @@ #include <efilib.h> EFI_STATUS -efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *system_tab) +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; }