Kernel: Rework whole Terminal structure

Serial monitors can now be used as a output. This requires editing
init code for the stdio opening. Serial input is not supported, so qemu
still needs graphical window for ps/2 keyboard.
This commit is contained in:
Bananymous
2023-09-04 19:34:18 +03:00
parent 52b9fddfd7
commit 323de3c866
17 changed files with 833 additions and 646 deletions

View File

@@ -54,7 +54,7 @@ namespace Kernel::Input
PS2Keyboard::PS2Keyboard(PS2Controller& controller)
: m_controller(controller)
, m_rdev(makedev(DevFileSystem::get().get_next_rdev(), 0))
, m_rdev(makedev(DevFileSystem::get().get_next_dev(), 0))
{ }
void PS2Keyboard::on_byte(uint8_t byte)