]> git.proxmox.com Git - mirror_edk2.git/commit
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)
commitc22f2d01de6c4b2caf3236499be667e529460fb7
tree33e573c66e3623417c3fb0dd36faf0d0da102343
parent81b7163580811cf68931fe21a2f9530727132a36
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>
OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf