Add dummy GetSerialRegisterBase() in BaseSerialPortLibNull.c.

This commit is contained in:
jief666 2024-01-02 19:55:44 +01:00
parent 956cfc1ad4
commit e3a2003995
1 changed files with 18 additions and 0 deletions

View File

@ -189,3 +189,21 @@ SerialPortSetAttributes (
return RETURN_UNSUPPORTED;
}
/**
Retrieve the I/O or MMIO base address register for the PCI UART device.
This function assumes Root Bus Numer is Zero, and enables I/O and MMIO in PCI UART
Device if they are not already enabled.
@return The base address register of the UART device.
**/
UINTN
GetSerialRegisterBase (
VOID
)
{
return 0;
}