summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2018-03-10 19:49:52 +0100
committerLaszlo Ersek <lersek@redhat.com>2018-03-13 14:30:31 +0100
commitc22f2d01de6c4b2caf3236499be667e529460fb7 (patch)
tree33e573c66e3623417c3fb0dd36faf0d0da102343 /OvmfPkg
parent81b7163580811cf68931fe21a2f9530727132a36 (diff)
downloadedk2-c22f2d01de6c4b2caf3236499be667e529460fb7.tar.gz
edk2-c22f2d01de6c4b2caf3236499be667e529460fb7.tar.bz2
edk2-c22f2d01de6c4b2caf3236499be667e529460fb7.zip
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 <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>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf1
1 files changed, 1 insertions, 0 deletions
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