mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
Kernel: Remove i686 support
This commit is contained in:
parent
32270dcd20
commit
5ff318cf3a
Notes:
sideshowbarker
2024-07-17 04:49:48 +09:00
Author: https://github.com/supercomputer7
Commit: 5ff318cf3a
Pull-request: https://github.com/SerenityOS/serenity/pull/15467
Issue: https://github.com/SerenityOS/serenity/issues/15444
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/fuel-pcbox
75 changed files with 142 additions and 895 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue