diff options
Diffstat (limited to 'src/pOS/arch/x86/kernel/acpi.cpp')
-rw-r--r-- | src/pOS/arch/x86/kernel/acpi.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pOS/arch/x86/kernel/acpi.cpp b/src/pOS/arch/x86/kernel/acpi.cpp index 7a8d3cd..cac3b8f 100644 --- a/src/pOS/arch/x86/kernel/acpi.cpp +++ b/src/pOS/arch/x86/kernel/acpi.cpp @@ -1,5 +1,12 @@ #include <kernel/acpi.h> +void ACPI::halt(void) +{ + asm volatile("cli \t\n" + "hlt "); + ASSERT(false); +} + void ACPI::shutdown(void) { System::outw(0x604, 0x2000); /* QEMU temp implementation */ |