From c22f2d01de6c4b2caf3236499be667e529460fb7 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sat, 10 Mar 2018 19:49:52 +0100 Subject: [PATCH] OvmfPkg/CsmSupportLib: list "LegacyRegion.h" in the INF file Among other things, the header file provides (extern) declarations for the EFI_LEGACY_REGION2_PROTOCOL member functions that are defined in "LegacyRegion.c". This way "mLegacyRegion2" can be initialized near the top of "LegacyRegion.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 --- OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf | 1 + 1 file changed, 1 insertion(+) diff --git a/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf b/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf index 938a48a642..2f576bf090 100644 --- a/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf +++ b/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf @@ -36,6 +36,7 @@ LegacyPlatform.c LegacyPlatform.h LegacyRegion.c + LegacyRegion.h [Packages] MdePkg/MdePkg.dec