mirror of https://github.com/acidanthera/audk.git
OvmfPkg/QemuVideoDxe: enable ARM builds
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 <lersek@redhat.com> Acked-by: Olivier Martin <Olivier.martin@arm.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16890 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
cef89a58ee
commit
84a75f70e9
|
@ -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;
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue