OvmfPkg/CsmSupportLib: list "LegacyInterrupt.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:27 +0000 (14:30 +0100)
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 <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 ba050cbb4f024d645b4907c97ff10e9161602000..f61a22f8ffe4e7db3ab331f42703ca6672025a15 100644 (file)
@@ -32,6 +32,7 @@
   CsmSupportLib.c\r
   CsmSupportLib.h\r
   LegacyInterrupt.c\r
   CsmSupportLib.c\r
   CsmSupportLib.h\r
   LegacyInterrupt.c\r
+  LegacyInterrupt.h\r
   LegacyPlatform.c\r
   LegacyRegion.c\r
 \r
   LegacyPlatform.c\r
   LegacyRegion.c\r
 \r