From 5668d7cfc5bb05057c5368eceb2bbb8a6a45a8c3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 26 Oct 2019 16:37:33 +0200 Subject: Removed VGA driver support --- src/kernel/acpi/acpi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/kernel/acpi') diff --git a/src/kernel/acpi/acpi.c b/src/kernel/acpi/acpi.c index 32b898b..003b7a4 100644 --- a/src/kernel/acpi/acpi.c +++ b/src/kernel/acpi/acpi.c @@ -1,4 +1,3 @@ -#include "../graphics/graphics.h" #include "../io/io.h" #include "../lib/lib.h" #include "../timer/timer.h" @@ -192,7 +191,7 @@ void acpi_poweroff() { acpi_enable(); if (SCI_EN == 0) { - terminal_write_line("ACPI shutdown is not supported"); + serial_write("ACPI shutdown is not supported\n"); return; } @@ -206,7 +205,7 @@ void acpi_poweroff() { send_w(0x4004, 0x3400); // VirtualBox } - terminal_write_line("Shutdown failed"); + serial_write("Shutdown failed\n"); } void reboot() { -- cgit v1.2.3