changeset 7:c778c27450cc

change executable file
author taiki
date Wed, 19 Dec 2012 01:10:08 +0900
parents a394e109feeb
children d390aa667e3c
files boot/bootx64.c boot/bootx64.efi
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/boot/bootx64.c	Tue Dec 18 17:55:09 2012 +0900
+++ b/boot/bootx64.c	Wed Dec 19 01:10:08 2012 +0900
@@ -1,14 +1,12 @@
 #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");
+    Print(L"Hello, World\n\r");
     EFI_STATUS ret = EFI_SUCCESS;
     return ret;
 }
Binary file boot/bootx64.efi has changed