blob: 40e674f5757a5dd23ffc7cab8677a2fb53100828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdbool.h>
#include <stdnoreturn.h>
#include <boot/entry/entry_efi.h>
noreturn void kernel_entry(struct efi_boot_data *data)
{
(void)data;
__asm__ ("cli\n\t");
while (true) __asm__ ("hlt\n\t");
}
|