mirror of https://github.com/acidanthera/audk.git
9cabe9d457
BaseIoLibIntrinsicArmVirt was created to prevent LTO from merging accesses to MMIO regions, resulting in instructions with multiple output registers that KVM on ARM cannot emulate (since the exception syndrome information that KVM relies on can only describe a single output register) However, using double word loads on ARM amounts to the same thing, and so code that relies on doing 64-bit MMIO to regions that are emulated under KVM (such as the GICv3 TYPER register) will still suffer from the original issue. So replace ldrd and strd with equivalent two instruction sequences. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> |
||
---|---|---|
.. | ||
AArch64 | ||
Arm | ||
Ia32 | ||
X64 | ||
BaseIoLibIntrinsic.inf | ||
BaseIoLibIntrinsic.uni | ||
BaseIoLibIntrinsicArmVirt.inf | ||
BaseIoLibIntrinsicArmVirt.uni | ||
BaseIoLibIntrinsicInternal.h | ||
BaseIoLibIntrinsicSev.inf | ||
IoHighLevel.c | ||
IoLib.c | ||
IoLibArm.c | ||
IoLibArmVirt.c | ||
IoLibEbc.c | ||
IoLibGcc.c | ||
IoLibIcc.c | ||
IoLibMmioBuffer.c | ||
IoLibMsc.c |