From: Laszlo Ersek Date: Sat, 10 Mar 2018 18:49:52 +0000 (+0100) Subject: OvmfPkg/EmuVariableFvbRuntimeDxe: list "Fvb.h" in the INF file X-Git-Tag: edk2-stable201903~2183 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2762bbe9a7b594cb53709dbc8bfb579b3f76d624 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 --- 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