summaryrefslogtreecommitdiff
path: root/Kernel/kprintf.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-10-04 03:05:54 +0300
committerAndreas Kling <kling@serenityos.org>2022-12-28 11:53:41 +0100
commit5ff318cf3ac7d12470c357ba0bac8cd7ffa10e3e (patch)
tree36b3982d64e9602e80f990ed86790d8868827998 /Kernel/kprintf.cpp
parent32270dcd20344ae2cd753232634cdcd4f0a4300e (diff)
downloadserenity-5ff318cf3ac7d12470c357ba0bac8cd7ffa10e3e.zip
Kernel: Remove i686 support
Diffstat (limited to 'Kernel/kprintf.cpp')
-rw-r--r--Kernel/kprintf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/kprintf.cpp b/Kernel/kprintf.cpp
index ecaa7bb1b7..2547989282 100644
--- a/Kernel/kprintf.cpp
+++ b/Kernel/kprintf.cpp
@@ -8,7 +8,7 @@
#include <AK/StringView.h>
#include <AK/Types.h>
#include <Kernel/Arch/DebugOutput.h>
-#if ARCH(I386) || ARCH(X86_64)
+#if ARCH(X86_64)
# include <Kernel/Arch/x86/common/BochsDebugOutput.h>
#endif
#include <Kernel/Devices/ConsoleDevice.h>
@@ -54,7 +54,7 @@ static void critical_console_out(char ch)
if (s_serial_debug_enabled)
serial_putch(ch);
-#if ARCH(I386) || ARCH(X86_64)
+#if ARCH(X86_64)
// No need to output things to the real ConsoleDevice as no one is likely
// to read it (because we are in a fatal situation, so only print things and halt)
bochs_debug_output(ch);
@@ -79,7 +79,7 @@ static void console_out(char ch)
if (DeviceManagement::the().is_console_device_attached()) {
DeviceManagement::the().console_device().put_char(ch);
} else {
-#if ARCH(I386) || ARCH(X86_64)
+#if ARCH(X86_64)
bochs_debug_output(ch);
#endif
}
@@ -139,7 +139,7 @@ static inline void internal_dbgputch(char ch)
{
if (s_serial_debug_enabled)
serial_putch(ch);
-#if ARCH(I386) || ARCH(X86_64)
+#if ARCH(X86_64)
bochs_debug_output(ch);
#endif
}