projects
/
efitest1
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[efitest1]
/
test.c
1
#include <efi.h>
2
#include <efilib.h>
3
#include <efiprot.h>
4
5
EFI_STATUS EFIAPI efi_main(EFI_HANDLE img, EFI_SYSTEM_TABLE *systab)
6
{
7
InitializeLib(img, systab);
8
Print(L"hello world\n");
9
10
asm volatile("cli");
11
for(;;) {
12
asm volatile("hlt");
13
}
14
15
return EFI_SUCCESS;
16
}