audk/ArmVirtPkg/Library
Ard Biesheuvel 658e7a41de ArmVirtPkg: implement ArmVirtPL031FdtClientLib
This implements a library ArmVirtPL031FdtClientLib which is intended to
be incorporated into RealTimeClockRuntimeDxe via NULL library class
resolution. This allows us to make RealTimeClockRuntimeDxe depend on the
FDT client protocol, and discover the PL031 base address from the device tree
directly rather than relying on VirtFdtDxe to set the dynamic PCDs.

The NULL library class resolution approach to strictly order production and
consumption of dynamic PCDs is not generally safe in cases such as this one,
where the producer and the consumer of the PCD are both libraries. However,
since the PCD is produced in this library's constructor, and the consumer
library's constructor 'LibRtcInitialize' is not a 'true' constructor (it is
invoked explicitly by RealTimeClockRuntimeDxe), this case is guaranteed to
be safe after all.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2016-04-13 16:55:24 +02:00
..
ArmQemuRelocatablePlatformLib ArmVirtPkg/RelocatableVirtHelper: use correct FindMemNode argument order 2016-04-13 15:35:01 +02:00
ArmVirtDxeHobLib
ArmVirtGicArchLib ArmVirtPkg/ArmGicArchLib: move to FdtClient protocol 2016-04-11 18:12:21 +02:00
ArmVirtMemoryInitPeiLib ArmVirtPkg/ArmVirtMemoryInitPeiLib: handle memory above 4 GB on 32-bit ARM 2015-09-09 14:48:33 +00:00
ArmVirtPL031FdtClientLib ArmVirtPkg: implement ArmVirtPL031FdtClientLib 2016-04-13 16:55:24 +02:00
ArmVirtPlatformLib ArmVirtPkg: ArmVirtPlatformLib: find the lowest memory node 2015-12-04 16:17:12 +00:00
ArmVirtPsciResetSystemLib ArmVirtPkg/ArmVirtPsciResetSystemLib: move to FDT client protocol 2016-04-11 18:12:21 +02:00
ArmVirtTimerFdtClientLib ArmVirtPkg: implement ArmVirtTimerFdtClientLib 2016-04-11 18:12:22 +02:00
ArmXenRelocatablePlatformLib ArmVirtPkg/RelocatableVirtHelper: use correct FindMemNode argument order 2016-04-13 15:35:01 +02:00
BaseCachingPciExpressLib ArmVirtPkg/BaseCachingPciExpressLib: depend on PciPcdProducerLib 2016-04-12 16:57:20 +02:00
FdtPL011SerialPortLib ArmVirtPkg/EarlyFdtPL011: allow patchable PCD for initial DT base address 2016-02-05 16:58:31 +01:00
FdtPciPcdProducerLib ArmVirtPkg: implement FdtPciPcdProducerLib 2016-04-12 16:26:46 +02:00
NorFlashQemuLib
PlatformIntelBdsLib ArmVirtPkg: PlatformIntelBdsLib: signal gRootBridgesConnectedEventGroupGuid 2016-03-23 17:39:32 +01:00
PlatformPeiLib
QemuFwCfgLib ArmVirtPkg/QemuFwCfgLib: move to FDT client protocol 2016-04-12 11:07:35 +02:00
XenRealTimeClockLib ArmVirtPkg: XenRealTimeClockLib: fixup typo in Linaro copyright notice 2015-06-08 22:00:32 +00:00