]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/BootLogoLib: pull GraphicsOutput protocol into class header
authorLaszlo Ersek <lersek@redhat.com>
Wed, 25 May 2016 11:19:41 +0000 (13:19 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 27 May 2016 09:27:00 +0000 (11:27 +0200)
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>
MdeModulePkg/Include/Library/BootLogoLib.h

index b39d61b7c3e5a771d335e6a7ad37f3c361d00359..55fe4b11cc4e2fde27f25ac3aeeedc5d3d1dd1ac 100644 (file)
@@ -17,6 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define _BOOT_LOGO_LIB_H_\r
 \r
 #include <Protocol/PlatformLogo.h>\r
+#include <Protocol/GraphicsOutput.h>\r
 \r
 /**\r
   Show LOGO on all consoles.\r