diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-16 16:51:49 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-17 09:56:50 +0000 |
commit | 12c6484058a8c5a8751c51eb24e9bb95497649c6 (patch) | |
tree | e5c011acccfa0cf4164f17dd3c30d1c970d68e09 /ArmPlatformPkg/Library/PL011SerialPortLib | |
parent | 77af86688c2a117f3addd44b8434c92744ac180e (diff) | |
download | edk2-12c6484058a8c5a8751c51eb24e9bb95497649c6.zip edk2-12c6484058a8c5a8751c51eb24e9bb95497649c6.tar.gz edk2-12c6484058a8c5a8751c51eb24e9bb95497649c6.tar.bz2 |
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 0d36a219c7bdbb27d775b50837823b2a9928147c
('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>
Diffstat (limited to 'ArmPlatformPkg/Library/PL011SerialPortLib')
0 files changed, 0 insertions, 0 deletions