Mercurial > hg > Members > taiki > EFIKernel
annotate boot/bootx64.c @ 6:a394e109feeb
new executable file
author | taiki |
---|---|
date | Tue, 18 Dec 2012 17:55:09 +0900 |
parents | cae91de64e26 |
children | c778c27450cc |
rev | line source |
---|---|
4 | 1 #include <efi.h> |
2 #include <efilib.h> | |
3 | |
4 EFI_STATUS | |
6 | 5 efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *system_table) |
4 | 6 { |
6 | 7 SIMPLE_TEXT_OUTPUT_INTERFACE *conout; |
8 | |
9 conout = system_table->ConOut; | |
10 InitializeLib(image, system_table); | |
11 uefi_call_wrapper(conout->OutputString, 2, conout, L"Hello World\n\r"); | |
4 | 12 EFI_STATUS ret = EFI_SUCCESS; |
13 return ret; | |
14 } |