]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/CsmSupportLib: list "LegacyRegion.h" in the INF file
authorLaszlo Ersek <lersek@redhat.com>
Sat, 10 Mar 2018 18:49:52 +0000 (19:49 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 13 Mar 2018 13:30:31 +0000 (14:30 +0100)
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 <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Suggested-by: Michael Kinney <michael.d.kinney@intel.com>
Ref: http://mid.mail-archive.com/E92EE9817A31E24EB0585FDF735412F56327F7D3@ORSMSX113.amr.corp.intel.com
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf

index 938a48a642c5d15114fc75c8d4fa5c1a9caea412..2f576bf09046e6fa77e234f32840c78eb788591f 100644 (file)
@@ -36,6 +36,7 @@
   LegacyPlatform.c\r
   LegacyPlatform.h\r
   LegacyRegion.c\r
+  LegacyRegion.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r