projects
/
efitest1
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2b80863e47329163c2b505bf2426515c353c7ae7
[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
}