From a43f0373ec9f6a5b18a9c36a67609e7fc861c554 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sat, 10 Mar 2018 23:42:16 +0100 Subject: OvmfPkg/QemuVideoDxe: list "VbeShim.h" in the INF file The header file is manually generated with "VbeShim.sh" (from the IA32 assembly code in "VbeShim.asm"), to be included by "VbeShim.c". "VbeShim.c" is linked into the driver only for the IA32 and X64 architectures: while the InstallVbeShim() function that "VbeShim.c" defines is declared commonly in "Qemu.h", the call in the also common "Driver.c" source file depends on the MDE_CPU_IA32 / MDE_CPU_X64 preprocessor macros. Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Phil Dennis-Jordan Suggested-by: Michael Kinney Ref: http://mid.mail-archive.com/E92EE9817A31E24EB0585FDF735412F56327F7D3@ORSMSX113.amr.corp.intel.com Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Reviewed-by: Ard Biesheuvel Reviewed-by: Jordan Justen --- OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 1 + 1 file changed, 1 insertion(+) (limited to 'OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf') diff --git a/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf b/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf index fc4c07723e..bec37975ba 100644 --- a/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf +++ b/OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf @@ -46,6 +46,7 @@ UnalignedIoIcc.c | INTEL UnalignedIoMsc.c | MSFT VbeShim.c + VbeShim.h [Sources.IPF, Sources.EBC] UnalignedIoUnsupported.c -- cgit v1.2.3