slimbootloader/BootloaderCommonPkg/Library/SerialPortLib
Maurice Ma b0269b62d0 Enhance SerialPortLib to handle debug output during PCI enumeration
If there is DEBUG output during PCI enumeration, it could cause SBL
hang due to invalid PCI bar resource. In this case, SBL will force
to return 0 for any serial port register read. And it might cause
dead loop because of LSR_TXRDY bit polling in SerialPortWrite().
To avoid this potential dead loop, it is required to set LSR_TXRDY
bit for LSR_OFFSET register read if the PCI resource is invalid.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2022-02-28 10:57:26 -08:00
..
SerialPortLib.c Enhance SerialPortLib to handle debug output during PCI enumeration 2022-02-28 10:57:26 -08:00
SerialPortLib.inf Use LF line endings in the repository 2021-11-10 12:46:42 -08:00