audk/ArmVirtPkg/Library
Star Zeng ad7f6bc2e1 ArmVirtPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg
Beyond just changing the directly related lines in the FDF and DSC files,
we have to adapt the EarlyFdtPL011SerialPortLib and FdtPL011SerialPortLib
instances as well, in the same patch. This is because the EmbeddedPkg
driver expects the SerialPortSetAttributes(),
SerialPortSetControl() and SerialPortGetControl() functions from
SerialPortExtLib, while the MdeModulePkg driver expects them from
SerialPortLib itself.

We cannot implement these functions in ArmVirtPkg's SerialPortLib
instances *before* flipping the driver, because it would cause double
function definitions in the EmbeddedPkg driver. We also can't implement
the functions *after* flipping the driver, because it would cause
unresolved function references in the MdeModulePkg driver. Therefore
we have to implement the functions simultaneously with the driver
replacement.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18973 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-26 08:52:12 +00:00
..
ArmVirtDxeHobLib
ArmVirtGicArchLib ArmVirtPkg: implement DT-based ArmGicArchLib 2015-07-28 20:45:36 +00:00
ArmVirtMemoryInitPeiLib ArmVirtPkg/ArmVirtMemoryInitPeiLib: handle memory above 4 GB on 32-bit ARM 2015-09-09 14:48:33 +00:00
ArmVirtPlatformLib ArmVirtPkg/ArmVirtPlatformLib: reduce ID map size to GCD region size 2015-11-24 07:44:41 +00:00
ArmVirtPsciResetSystemLib
ArmXenRelocatablePlatformLib ArmVirtPkg: avoid relocated immediates in AARCH64 asm 2015-08-11 12:32:38 +00:00
BaseCachingPciExpressLib
FdtPL011SerialPortLib ArmVirtPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg 2015-11-26 08:52:12 +00:00
NorFlashQemuLib
PlatformIntelBdsLib ArmVirtPkg: PlatformIntelBdsLib: signal ReadyToBoot on direct kernel boot 2015-09-18 13:58:35 +00:00
PlatformPeiLib
QemuFwCfgLib ArmVirtPkg: QemuFwCfgLib: read bytes from fw-cfg with DMA when available 2015-09-24 21:40:41 +00:00
XenRealTimeClockLib ArmVirtPkg: XenRealTimeClockLib: fixup typo in Linaro copyright notice 2015-06-08 22:00:32 +00:00