]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/XenRelocatablePlatformLib: rewrite DTB memory node retrieval in C
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 17 Dec 2015 17:11:07 +0000 (17:11 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Thu, 17 Dec 2015 17:11:07 +0000 (17:11 +0000)
commit03b6bed17ea6fa224ca4d40fa1bd059283fbd9fb
treecc7190b8884351e00066bcd540c8e8213487b212
parentce44ee32d3c8e5ffac3c3c2608cabd485f30ddd9
ArmVirtPkg/XenRelocatablePlatformLib: rewrite DTB memory node retrieval in C

Parsing the DTB early on using a handcoded assembly routine is a pointless
waste of brain cycles, since the UEFI firmware always executes from RAM
under Xen. So instead, set up a temporary stack in the memory region at the
beginning of the image, and use the libfdt C library.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19330 6f19259b-4bc3-4df7-8a09-765794883524
ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/MemnodeParser.S [deleted file]
ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/RelocatableVirtHelper.S
ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/ArmXenRelocatablePlatformLib.inf
ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/FdtParser.c [new file with mode: 0644]