Patch #4 moves HighMemDxe to the FDT client protocol, and updates it to handle #address-cells/#size-cells values of <1> as well as <2>, and lets it deal with memory nodes whose 'reg' properties describe multiple disjoint regions.
Patches #1 to #3 are somewhat preparatory in nature: - Patch #1 is a small thinko fix - Patch #2 drops the 'regelemsize' output parameter for 'reg' related methods of the FDT client protocol in favour of addresscells/sizecells. - Patch #3 adds methods to iterate over all 'reg' properties of all memory nodes Ard Biesheuvel (4): ArmVirtPkg/FdtClientDxe: fix check for size of "reg" properties ArmVirtPkg/FdtClientDxe: report address and size cell count directly ArmVirtPkg/FdtClient: add methods to iterate over memory nodes ArmVirtPkg/HighMemDxe: move to FDT client protocol ArmVirtPkg/FdtClientDxe/FdtClientDxe.c | 84 +++++++++++++- ArmVirtPkg/HighMemDxe/HighMemDxe.c | 120 +++++++++----------- ArmVirtPkg/HighMemDxe/HighMemDxe.inf | 16 ++- ArmVirtPkg/Include/Protocol/FdtClient.h | 29 ++++- ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c | 9 +- ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 9 +- ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c | 8 +- ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c | 10 +- 8 files changed, 196 insertions(+), 89 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel