From 2762bbe9a7b594cb53709dbc8bfb579b3f76d624 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sat, 10 Mar 2018 19:49:52 +0100 Subject: [PATCH] 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 Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Julien Grall Suggested-by: Michael Kinney Ref: http://mid.mail-archive.com/E92EE9817A31E24EB0585FDF735412F56327F7D3@ORSMSX113.amr.corp.intel.com Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Reviewed-by: Ard Biesheuvel Reviewed-by: Jordan Justen --- OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2