]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/ArmVirtXen.dsc
ArmVirtPkg/ArmVirtXen: add ArmVirtMemInfoLib implementation
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 17 Nov 2017 13:58:07 +0000 (13:58 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Nov 2017 16:05:28 +0000 (16:05 +0000)
commit496cf19ac262dcc37a60652b535d725652947f3b
treec9ec3ddd70ad6073f07d34a9bb154763de201b68
parent77ca9182818f28334f17f772adc7dfe24d8cf55f
ArmVirtPkg/ArmVirtXen: add ArmVirtMemInfoLib implementation

Clone the existing ArmPlatformGetVirtualMemoryMap () for this platform,
clean it up slightly (by using a static buffer rather than a heap
allocation, and removing the support for uncached DRAM mappings), and
turn it into a new ArmVirtMemInfoLib implementation.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Julien Grall <julien.grall@linaro.org>
ArmVirtPkg/ArmVirtXen.dsc
ArmVirtPkg/Library/XenVirtMemInfoLib/AArch64/PhysAddrTop.S [new file with mode: 0644]
ArmVirtPkg/Library/XenVirtMemInfoLib/Arm/PhysAddrTop.S [new file with mode: 0644]
ArmVirtPkg/Library/XenVirtMemInfoLib/XenVirtMemInfoLib.c [new file with mode: 0644]
ArmVirtPkg/Library/XenVirtMemInfoLib/XenVirtMemInfoLib.inf [new file with mode: 0644]