audk/ArmVirtPkg
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
..
FdtClientDxe ArmVirtPkg/FdtClientDxe: implement new driver 2016-04-11 18:12:21 +02:00
HighMemDxe ArmVirtPkg: HighMemDxe: add memory space for the high memory nodes 2015-12-04 16:17:17 +00:00
Include ArmVirtPkg: introduce FdtClientProtocol 2016-04-11 18:12:21 +02:00
Library ArmVirtPkg: implement ArmVirtPL031FdtClientLib 2016-04-13 16:55:24 +02:00
PciHostBridgeDxe ArmVirtPkg/PciHostBridgeDxe: move to FDT client protocol 2016-04-12 17:59:05 +02:00
PrePi ArmVirtPkg/PrePiRelocatable: add ARM support 2015-12-17 17:11:16 +00:00
VirtFdtDxe ArmVirtPkg/VirtFdtDxe: drop PCI host bridge handling 2016-04-12 18:26:47 +02:00
ArmVirt.dsc.inc ArmVirtPkg: drop bogus ArmPlatformSecExtraActionLib resolution 2016-04-07 14:35:20 +02:00
ArmVirtPkg.dec ArmVirtPkg/VirtFdtDxe: remove handling of fw_cfg DT node 2016-04-12 11:07:36 +02:00
ArmVirtQemu.dsc ArmVirtPkg/VirtFdtDxe: drop PCI host bridge handling 2016-04-12 18:26:47 +02:00
ArmVirtQemu.fdf ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
ArmVirtQemuKernel.dsc ArmVirtPkg/VirtFdtDxe: drop PCI host bridge handling 2016-04-12 18:26:47 +02:00
ArmVirtQemuKernel.fdf ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
ArmVirtXen.dsc ArmVirtPkg/VirtFdtDxe: drop PCI host bridge handling 2016-04-12 18:26:47 +02:00
ArmVirtXen.fdf ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
Contributions.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00
License.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00