[refactor] 整理注释
This commit is contained in:
+2
-1
@@ -8,7 +8,8 @@ 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
|
||||
// 在 IDT 就绪前禁用中断
|
||||
ASM("cli");
|
||||
kernel_main();
|
||||
while (1) ASM ("hlt");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user