amd64: serial: register tty in serial driver

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-11 23:54:15 -04:00
commit bba8fc7476
3 changed files with 23 additions and 7 deletions

View file

@ -28,7 +28,7 @@ void arch_early_init()
cr4 |= (1 << 9) | (1 << 10);
cr4_write(cr4);
tty_early.serial_ops = &tty_early_ops;
tty_early.serial_ops = tty_early_ops;
tty_early.priv = (void *)COM1;
tty_printf = &tty_early;