[feat] 100Hz task switch
This commit is contained in:
@@ -8,6 +8,7 @@ extern "C" void kernel_main();
|
||||
extern "C" void _start(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) {
|
||||
(void)ImageHandle;
|
||||
ST = SystemTable;
|
||||
ASM("cli"); // disable interrupts until IDT is ready
|
||||
kernel_main();
|
||||
while (1) ASM ("hlt");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user