ArmVirtPkg/XenVirtMemInfoLib: refactor reading of the PA space size
Use the new ArmLib helper to read the CPU's physical address limit so we can drop our own homecooked one. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
@@ -24,12 +24,6 @@
|
||||
[Sources]
|
||||
XenVirtMemInfoLib.c
|
||||
|
||||
[Sources.ARM]
|
||||
Arm/PhysAddrTop.S
|
||||
|
||||
[Sources.AARCH64]
|
||||
AArch64/PhysAddrTop.S
|
||||
|
||||
[Packages]
|
||||
ArmPkg/ArmPkg.dec
|
||||
ArmVirtPkg/ArmVirtPkg.dec
|
||||
@@ -38,4 +32,5 @@
|
||||
|
||||
[LibraryClasses]
|
||||
ArmLib
|
||||
BaseLib
|
||||
DebugLib
|
||||
|
Reference in New Issue
Block a user