audk/OvmfPkg/Library/XenHypercallLib
Ard Biesheuvel 12c6484058 OvmfPkg/XenHypercallLib: enable virt extensions for ARM
XenHypercallLib uses the 'hvc' instruction, which is not implemented
on all ARMv7 CPUs, and so we need to explicitly specify a CPU that
has the virtualization extensions.

This override used to be set at the platform level, but this was removed
in commit 0d36a219c7
('ArmPlatformPkg/PL031RealTimeClockLib: drop ArmPlatformSysConfigLib
reference), under the assumption that all users of the 'hvc' instruction
had already been fixed.

So fix this for GNU binutils by adding the 'virt' arch extension
directive, and for RVCT by setting the --cpu command line option to a
CPU that is virt capable.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2017-11-17 09:56:50 +00:00
..
Aarch64 Ovmf/Xen: implement XenHypercallLib for ARM 2015-02-28 20:33:22 +00:00
Arm OvmfPkg/XenHypercallLib: enable virt extensions for ARM 2017-11-17 09:56:50 +00:00
Ia32 Ovmf/Xen: move XenBusDxe hypercall code to separate library 2015-02-28 20:32:39 +00:00
X64 Ovmf/Xen: move XenBusDxe hypercall code to separate library 2015-02-28 20:32:39 +00:00
ArmXenHypercall.c OvmfPkg: XenHypercallLib: introduce XenHypercallIsAvailable() 2015-03-03 08:13:30 +00:00
X86XenHypercall.c OvmfPkg: replace strict XenHypercallLib construction with explicit query 2015-03-03 08:13:40 +00:00
XenHypercall.c OvmfPkg/XenHypercallLib: Add EFIAPI 2016-12-06 18:00:32 +01:00
XenHypercallLib.inf OvmfPkg/XenHypercallLib: enable virt extensions for ARM 2017-11-17 09:56:50 +00:00