mirror of https://github.com/acidanthera/audk.git
658e7a41de
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> |
||
---|---|---|
.. | ||
ArmQemuRelocatablePlatformLib | ||
ArmVirtDxeHobLib | ||
ArmVirtGicArchLib | ||
ArmVirtMemoryInitPeiLib | ||
ArmVirtPL031FdtClientLib | ||
ArmVirtPlatformLib | ||
ArmVirtPsciResetSystemLib | ||
ArmVirtTimerFdtClientLib | ||
ArmXenRelocatablePlatformLib | ||
BaseCachingPciExpressLib | ||
FdtPL011SerialPortLib | ||
FdtPciPcdProducerLib | ||
NorFlashQemuLib | ||
PlatformIntelBdsLib | ||
PlatformPeiLib | ||
QemuFwCfgLib | ||
XenRealTimeClockLib |