mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 18:58:40 +00:00
k_shutdown() fix
This commit is contained in:
parent
4bab8949e7
commit
6c273e0f2f
2 changed files with 3 additions and 1 deletions
BIN
boredos.iso
BIN
boredos.iso
Binary file not shown.
|
|
@ -108,7 +108,9 @@ void k_reboot(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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue