Mercurial > hg > Members > taiki > EFIKernel
comparison boot/bootx64.c @ 6:a394e109feeb
new executable file
author | taiki |
---|---|
date | Tue, 18 Dec 2012 17:55:09 +0900 |
parents | cae91de64e26 |
children | c778c27450cc |
comparison
equal
deleted
inserted
replaced
5:4b51f0c01fa7 | 6:a394e109feeb |
---|---|
1 #include <efi.h> | 1 #include <efi.h> |
2 #include <efilib.h> | 2 #include <efilib.h> |
3 | 3 |
4 EFI_STATUS | 4 EFI_STATUS |
5 efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *system_tab) | 5 efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *system_table) |
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"); | |
7 EFI_STATUS ret = EFI_SUCCESS; | 12 EFI_STATUS ret = EFI_SUCCESS; |
8 return ret; | 13 return ret; |
9 } | 14 } |