amd64: Change console device_file to /dev/ttyS0

Change the device_file path from /dev/console to /dev/ttyS0 since it
will already be linked to /dev/console on console_initialize
This commit is contained in:
Matheus Pecoraro
2024-06-13 17:01:02 -03:00
committed by Amar Takhar
parent 0951e4e617
commit 20a663ccef

View File

@@ -56,7 +56,7 @@ static ns16550_context amd64_uart_context = {
*/ */
const console_device console_device_table[] = { const console_device console_device_table[] = {
{ {
.device_file = "/dev/console", .device_file = "/dev/ttyS0",
.probe = console_device_probe_default, .probe = console_device_probe_default,
.handler = &ns16550_handler_polled, .handler = &ns16550_handler_polled,
.context = &amd64_uart_context.base .context = &amd64_uart_context.base