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:33 +0100
commit2762bbe9a7b594cb53709dbc8bfb579b3f76d624 (patch)
treeaf7d4ca719f7f60fb561465efb327c98e15fa6a9 /OvmfPkg
parentc22f2d01de6c4b2caf3236499be667e529460fb7 (diff)
downloadedk2-2762bbe9a7b594cb53709dbc8bfb579b3f76d624.tar.gz
edk2-2762bbe9a7b594cb53709dbc8bfb579b3f76d624.tar.bz2
edk2-2762bbe9a7b594cb53709dbc8bfb579b3f76d624.zip
OvmfPkg/EmuVariableFvbRuntimeDxe: list "Fvb.h" in the INF file
Among other things, the header file provides (extern) declarations for the EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL member functions that are defined in "Fvb.c". This way "mEmuVarsFvb.FwVolBlockInstance" can be initialized near the top of "Fvb.c", ahead of the member function definitions. Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Julien Grall <julien.grall@linaro.org> 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/EmuVariableFvbRuntimeDxe/Fvb.inf1
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
index 69b3c9972a..9f37938408 100644
--- a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
+++ b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
@@ -29,6 +29,7 @@
[Sources]
Fvb.c
+ Fvb.h
[Packages]
MdePkg/MdePkg.dec