Kernel: Reboot will now always succeed

If acpi reset fails, we forcefully trigger a triple fault to restart
the system.
This commit is contained in:
Bananymous
2023-09-28 12:48:52 +03:00
parent 6eda65eea6
commit d7ecf94347
3 changed files with 25 additions and 1 deletions

View File

@@ -9,5 +9,6 @@ namespace IDT
void initialize();
void register_irq_handler(uint8_t irq, void(*f)());
[[noreturn]] void force_triple_fault();
}