summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-05-25 13:19:41 +0200
committerLaszlo Ersek <lersek@redhat.com>2016-05-27 11:27:00 +0200
commit10fa5abf16ca091ed18d6c38fe3758284fb9b0b1 (patch)
treefd3328dc423f64cae76a4a1f73db045362f231f5 /MdeModulePkg
parentef3216ebf35087ed7b99c8e980b581ece12c75b8 (diff)
downloadedk2-platforms-10fa5abf16ca091ed18d6c38fe3758284fb9b0b1.tar.xz
MdeModulePkg/BootLogoLib: pull GraphicsOutput protocol into class header
The BootLogoUpdateProgress() function uses the EFI_GRAPHICS_OUTPUT_BLT_PIXEL type in its parameter list, but the protocol header that defines this type is not included. This breaks dependent C source files that don't otherwise include the GraphicsOutput protocol header. Supply the necessary include directive. (Similarly, BootLogoEnableLogo() uses EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE in its parameter list. For that however, the PlatformLogo protocol header is included already.) Cc: Feng Tian <feng.tian@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Include/Library/BootLogoLib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Library/BootLogoLib.h b/MdeModulePkg/Include/Library/BootLogoLib.h
index b39d61b7c3..55fe4b11cc 100644
--- a/MdeModulePkg/Include/Library/BootLogoLib.h
+++ b/MdeModulePkg/Include/Library/BootLogoLib.h
@@ -17,6 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _BOOT_LOGO_LIB_H_
#include <Protocol/PlatformLogo.h>
+#include <Protocol/GraphicsOutput.h>
/**
Show LOGO on all consoles.