annotate boot/bootx64.c @ 6:a394e109feeb

new executable file
author taiki
date Tue, 18 Dec 2012 17:55:09 +0900
parents cae91de64e26
children c778c27450cc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include <efi.h>
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include <efilib.h>
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 EFI_STATUS
6
a394e109feeb new executable file
taiki
parents: 4
diff changeset
5 efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *system_table)
4
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 {
6
a394e109feeb new executable file
taiki
parents: 4
diff changeset
7 SIMPLE_TEXT_OUTPUT_INTERFACE *conout;
a394e109feeb new executable file
taiki
parents: 4
diff changeset
8
a394e109feeb new executable file
taiki
parents: 4
diff changeset
9 conout = system_table->ConOut;
a394e109feeb new executable file
taiki
parents: 4
diff changeset
10 InitializeLib(image, system_table);
a394e109feeb new executable file
taiki
parents: 4
diff changeset
11 uefi_call_wrapper(conout->OutputString, 2, conout, L"Hello World\n\r");
4
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 EFI_STATUS ret = EFI_SUCCESS;
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 return ret;
cae91de64e26 gather boot file
Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 }