From: Laszlo Ersek Date: Sat, 10 Mar 2018 18:49:52 +0000 (+0100) Subject: OvmfPkg/CsmSupportLib: list "LegacyInterrupt.h" in the INF file X-Git-Tag: edk2-stable201903~2186 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=589ae5a034282ba451092c80b8b799361c6abe1f OvmfPkg/CsmSupportLib: list "LegacyInterrupt.h" in the INF file Among other things, the header file provides (extern) declarations for the EFI_LEGACY_INTERRUPT_PROTOCOL member functions that are defined in "LegacyInterrupt.c". This way "mLegacyInterrupt" can be initialized near the top of "LegacyInterrupt.c", ahead of the member function definitions. Cc: Ard Biesheuvel Cc: Jordan Justen 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 --- diff --git a/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf b/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf index ba050cbb4f..f61a22f8ff 100644 --- a/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf +++ b/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf @@ -32,6 +32,7 @@ CsmSupportLib.c CsmSupportLib.h LegacyInterrupt.c + LegacyInterrupt.h LegacyPlatform.c LegacyRegion.c