mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
Replace busy-wait cli_delay with time-based cli_sleep in remaining files
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
void cli_cmd_shutdown(char *args) {
|
||||
(void)args;
|
||||
cli_write("Shutting down...\n");
|
||||
cli_delay(10000000);
|
||||
cli_sleep(100);
|
||||
outb(0x64, 0xFE);
|
||||
outw(0x604, 0x2000);
|
||||
outw(0xB004, 0x2000);
|
||||
|
||||
Reference in New Issue
Block a user