Skip to content

Commit

Permalink
Add dummy GetSerialRegisterBase() in BaseSerialPortLibNull.c.
Browse files Browse the repository at this point in the history
jief666 committed Jan 2, 2024
1 parent 956cfc1 commit e3a2003
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit e3a2003

Please sign in to comment.