mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
k_shutdown() fix
This commit is contained in:
BIN
boredos.iso
BIN
boredos.iso
Binary file not shown.
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user