amd64: serial: register tty in serial driver
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
b5a6c0bc97
commit
bba8fc7476
3 changed files with 23 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue