audk/MdeModulePkg
mdkinney 784ce12727 1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable detection if hardware flow control is enabled. The default is to not perform cable detection.
2) Update BaseSerialPortLib16550 to use this new PCD.

This addresses an issue that was introduced on Feb 3, 2011 when all references to Carrier Detect(CD) were removed from the BaseSerialPortLib16550.  When that change was made, a target would block on the first Tx operation if hardware flow control was enabled and no cable or serial application was running on a host. Now the behavior when no cable is connected or no serial app is running on the host is controlled through a PCD.  The default is for the target to continue execution even if there is no cable or serial app running.  If PcdSerialDetectCable is set to TRUE, then the target will block on any transmit that does not have a cable connected or a serial app running in the host.

If hardware flow control is disabled, then this update will have no impact on behavior.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11301 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-10 23:27:12 +00:00
..
Application Update the copyright notice format 2010-04-24 09:49:11 +00:00
Bus 1. fix AtaPassThru.PassThru() sct failure 2011-01-06 05:44:50 +00:00
Core Fix bounds check on parameter of type EFI_GCD_IO_TYPE to use EfiGcdIoTypeMaximum instead of EfiGcdMemoryTypeMaximum. Also fix typo in DEBUG() message string for gDS->AllocateIoSpace() calls. 2011-01-21 18:49:36 +00:00
Include Enhance the code to avoid the potential of return address of local variable to output structure. 2011-01-17 05:54:13 +00:00
Library 1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable detection if hardware flow control is enabled. The default is to not perform cable detection. 2011-02-10 23:27:12 +00:00
Logo Update the copyright notice format 2010-04-24 09:49:11 +00:00
Universal If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code handler cannot work in runtime (after exit boot service). It should be allocated in runtime memory. 2011-01-26 07:57:13 +00:00
MdeModulePkg.dec 1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable detection if hardware flow control is enabled. The default is to not perform cable detection. 2011-02-10 23:27:12 +00:00
MdeModulePkg.dsc Add mapping for PlatformHookLib to [LibraryClasses] section 2010-12-29 18:28:38 +00:00