audk/ArmVirtPkg
Ard Biesheuvel 2248631883 ArmVirtPkg/ArmGicArchLib: move to FdtClient protocol
Instead of relying on VirtFdtDxe to populate the GIC related PCDs, move
this handling to our implementation of ArmGicArchLib, and retrieve the
required DT info using the new FDT client protocol.

This removes one of the reasons we need to load VirtFdtDxe first using
an 'A PRIORI' declaration in the platform FDF.

As Laszlo kindly confirms:

  So, ultimately, the only user of this library instance is
  "ArmPkg/Drivers/ArmGic/ArmGicDxe.inf". ... Indeed, checking the build
  report file for ArmVirtQemu (AARCH64), I find ArmVirtGicArchLib (and
  ArmGicLib too) only under "ArmPkg/Drivers/ArmGic/ArmGicDxe.inf".

which means that the constructor is only invoked once, and so the dynamic
PCDs are set in time for ArmGicDxe to consume them, and never afterwards.

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-11 18:12:21 +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/ArmGicArchLib: move to FdtClient protocol 2016-04-11 18:12:21 +02:00
PciHostBridgeDxe Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00
PrePi ArmVirtPkg/PrePiRelocatable: add ARM support 2015-12-17 17:11:16 +00:00
VirtFdtDxe ArmVirtPkg/VirtFdtDxe: make installation of FDT as config table optional 2016-03-31 16:37:33 +02:00
ArmVirt.dsc.inc ArmVirtPkg: drop bogus ArmPlatformSecExtraActionLib resolution 2016-04-07 14:35:20 +02:00
ArmVirtPkg.dec ArmVirtPkg: introduce FdtClientProtocol 2016-04-11 18:12:21 +02:00
ArmVirtQemu.dsc ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
ArmVirtQemu.fdf ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
ArmVirtQemuKernel.dsc ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
ArmVirtQemuKernel.fdf ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +02:00
ArmVirtXen.dsc ArmVirtPkg: add FdtClientDxe to the ArmVirtPkg platforms 2016-04-11 18:12:21 +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