diff options
author | Nick Miller <nick.miller.83@gmail.com> | 2021-05-31 09:59:48 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-31 19:06:13 +0100 |
commit | 10ba6f254cfe40d2da6d811c4094f597bf0a959a (patch) | |
tree | 6b04ca00d6819c6b5f309f9a249a3fc402d7cbb3 /Kernel/Syscalls | |
parent | 971523621cfdd18855e6c57c77fafcc3c23d2a12 (diff) | |
download | serenity-10ba6f254cfe40d2da6d811c4094f597bf0a959a.zip |
Kernel: Rename instances of IO port 0xe9 to BOCHS_DEBUG_PORT
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r-- | Kernel/Syscalls/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Syscalls/debug.cpp b/Kernel/Syscalls/debug.cpp index 5d2ddf24a6..7f864e5da2 100644 --- a/Kernel/Syscalls/debug.cpp +++ b/Kernel/Syscalls/debug.cpp @@ -19,7 +19,7 @@ KResultOr<int> Process::sys$dump_backtrace() KResultOr<int> Process::sys$dbgputch(u8 ch) { - IO::out8(0xe9, ch); + IO::out8(IO::BOCHS_DEBUG_PORT, ch); return 0; } @@ -33,7 +33,7 @@ KResultOr<size_t> Process::sys$dbgputstr(Userspace<const u8*> characters, int le return EFAULT; return buffer.value().read_buffered<1024>(length, [&](u8 const* buffer, size_t buffer_size) { for (size_t i = 0; i < buffer_size; ++i) - IO::out8(0xe9, buffer[i]); + IO::out8(IO::BOCHS_DEBUG_PORT, buffer[i]); return buffer_size; }); } |