The only feature not portable to ArmVirtualizationQemu is the VBE shim; make that dependent on Ia32 / X64.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <[email protected]> Acked-by: Olivier Martin <[email protected]> Reviewed-by: Jordan Justen <[email protected]> --- OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 4 +++- OvmfPkg/QemuVideoDxe/Driver.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf b/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf index 5180b27..ce1ff93 100644 --- a/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf +++ b/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf @@ -26,7 +26,7 @@ # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64 # # DRIVER_BINDING = gQemuVideoDriverBinding # COMPONENT_NAME = gQemuVideoComponentName @@ -38,6 +38,8 @@ DriverSupportedEfiVersion.c Gop.c Initialize.c + +[Sources.Ia32, Sources.X64] VbeShim.c [Packages] diff --git a/OvmfPkg/QemuVideoDxe/Driver.c b/OvmfPkg/QemuVideoDxe/Driver.c index 17bd4cc..c74d1a2 100644 --- a/OvmfPkg/QemuVideoDxe/Driver.c +++ b/OvmfPkg/QemuVideoDxe/Driver.c @@ -405,10 +405,12 @@ QemuVideoControllerDriverStart ( goto UninstallGop; } +#if defined MDE_CPU_IA32 || defined MDE_CPU_X64 if (Private->Variant == QEMU_VIDEO_BOCHS_MMIO || Private->Variant == QEMU_VIDEO_BOCHS) { InstallVbeShim (Card->Name, Private->GraphicsOutput.Mode->FrameBufferBase); } +#endif gBS->RestoreTPL (OldTpl); return EFI_SUCCESS; -- 1.8.3.1 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
