k_shutdown() fix

This commit is contained in:
boreddevnl 2026-03-15 16:53:38 +01:00
parent 4bab8949e7
commit 6c273e0f2f
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -108,7 +108,9 @@ void k_reboot(void) {
} }
void k_shutdown(void) { void k_shutdown(void) {
outw(0x604, 0x2000); outw(0xB004, 0x2000); // QEMU older / some pc machines
outw(0x604, 0x2000); // QEMU newer (i440fx/q35)
outw(0x4004, 0x3400); // VirtualBox fallback
} }
void k_beep(int freq, int ms) { void k_beep(int freq, int ms) {