mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
Kernel: Rename instances of IO port 0xe9 to BOCHS_DEBUG_PORT
This commit is contained in:
parent
971523621c
commit
10ba6f254c
5 changed files with 17 additions and 10 deletions
|
@ -73,7 +73,7 @@ static void critical_console_out(char ch)
|
|||
serial_putch(ch);
|
||||
// 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)
|
||||
IO::out8(0xe9, ch);
|
||||
IO::out8(IO::BOCHS_DEBUG_PORT, ch);
|
||||
// We emit chars directly to the string. this is necessary in few cases,
|
||||
// especially when we want to avoid any memory allocations...
|
||||
if (GraphicsManagement::is_initialized() && GraphicsManagement::the().console()) {
|
||||
|
@ -91,7 +91,7 @@ static void console_out(char ch)
|
|||
if (ConsoleDevice::is_initialized()) {
|
||||
ConsoleDevice::the().put_char(ch);
|
||||
} else {
|
||||
IO::out8(0xe9, ch);
|
||||
IO::out8(IO::BOCHS_DEBUG_PORT, ch);
|
||||
}
|
||||
if (ConsoleManagement::is_initialized()) {
|
||||
ConsoleManagement::the().debug_tty()->emit_char(ch);
|
||||
|
@ -149,7 +149,7 @@ static void debugger_out(char ch)
|
|||
{
|
||||
if (serial_debug)
|
||||
serial_putch(ch);
|
||||
IO::out8(0xe9, ch);
|
||||
IO::out8(IO::BOCHS_DEBUG_PORT, ch);
|
||||
}
|
||||
|
||||
extern "C" void dbgputstr(const char* characters, size_t length)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue