Kernel: Rename instances of IO port 0xe9 to BOCHS_DEBUG_PORT

This commit is contained in:
Nick Miller 2021-05-31 09:59:48 -07:00 committed by Linus Groh
commit 10ba6f254c
Notes: sideshowbarker 2024-07-18 17:05:59 +09:00
5 changed files with 17 additions and 10 deletions

View file

@ -13,6 +13,10 @@
namespace IO {
// Every character written to this IO port is written to the Bochs console
// (e.g. the console where Qemu is running).
static constexpr u16 BOCHS_DEBUG_PORT = 0xE9;
inline u8 in8(u16 port)
{
u8 value;