By special request, this implements ARM support to the ArmVirtXen platform. This is probably still rough around the edges, since I have not tested it myself under Xen yet. I did test all the code changes in this series under QEMU. (This is possible since the early code only depends on the Linux boot protocol, which QEMU implements as well.)
I would highly appreciate testing on both ARM and AARCH64 platforms, since some AARCH64 code was changed as well (patch #3) Ard Biesheuvel (6): BaseTools/GenFw ARM: allow R_ARM_REL32 relocations ArmLib/ArmV7Mmu: use 64-bit type for mapping region size ArmVirtPkg/XenRelocatablePlatformLib: rewrite DTB memory node retrieval in C ArmVirtPkg/PrePiRelocatable: add ARM support ArmVirtPkg/ArmXenRelocatablePlatformLib: add ARM support ArmVirtPkg/ArmVirtXen: add ARM support ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c | 2 +- ArmVirtPkg/ArmVirtXen.dsc | 7 +- ArmVirtPkg/ArmVirtXen.fdf | 21 +- ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/MemnodeParser.S | 237 -------------------- ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/RelocatableVirtHelper.S | 51 ++--- ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/ARM/RelocatableVirtHelper.S | 140 ++++++++++++ ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/ArmXenRelocatablePlatformLib.inf | 6 +- ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/FdtParser.c | 91 ++++++++ ArmVirtPkg/PrePi/Arm/ArchPrePi.c | 26 +++ ArmVirtPkg/PrePi/Arm/ModuleEntryPoint.S | 203 +++++++++++++++++ ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf | 6 +- ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds | 29 +-- BaseTools/Source/C/GenFw/Elf32Convert.c | 2 + 13 files changed, 530 insertions(+), 291 deletions(-) delete mode 100644 ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/MemnodeParser.S create mode 100644 ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/ARM/RelocatableVirtHelper.S create mode 100644 ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/FdtParser.c create mode 100644 ArmVirtPkg/PrePi/Arm/ArchPrePi.c create mode 100644 ArmVirtPkg/PrePi/Arm/ModuleEntryPoint.S -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel