base: Use COM1 as default port if Bender failed to identify a serial device, as this frequently happens with modern SOL solutions.

This commit is contained in:
Michael Mueller
2025-03-05 15:02:10 +01:00
parent 5d801d7e10
commit 50c81933a0

View File

@@ -42,7 +42,7 @@ class Genode::Bios_data_area : Mmio<0x12>
uint16_t serial_port() const
{
Equipment::access_t count = read<Equipment::Serial_count>();
return count ? read<Serial_base_com1>() : 0;
return count ? read<Serial_base_com1>() : 0x3f8;
}
/**