]> git.proxmox.com Git - mirror_edk2.git/commit
Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 01:07:39 +0000 (01:07 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 01:07:39 +0000 (01:07 +0000)
commita06638eac2b71661d9d0d15d295cbba6da710b07
tree53558af5915cbc392537ae01f47bab0eaf44fe0e
parent8e456a779472b827a2b321340c00c334fefcca55
Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull.  It will ASSERT() due to the recent addition of a CONSTRUCTOR to BaseDebugLibSerialPort that calls SerialPortInitialize().
The fix is to change SerialPortInitialize() to always return RETURN_SUCCESS instead of RETURN_UNSUPPORTED.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11207 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c