]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/BootLogo.h
MdeModulePkg/ResetSystemRuntimeDxe: Add platform filter and handler
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / BootLogo.h
CommitLineData
e2988e66 1/** @file\r
2 Boot Logo protocol is used to convey information of Logo dispayed during boot.\r
3\r
4Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials are licensed and made available under\r
6the terms and conditions of the BSD License that accompanies this distribution.\r
7The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php.\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _BOOT_LOGO_H_\r
16#define _BOOT_LOGO_H_\r
17\r
18#include <Protocol/GraphicsOutput.h>\r
19\r
20#define EFI_BOOT_LOGO_PROTOCOL_GUID \\r
21 { \\r
22 0xcdea2bd3, 0xfc25, 0x4c1c, { 0xb9, 0x7c, 0xb3, 0x11, 0x86, 0x6, 0x49, 0x90 } \\r
23 }\r
24\r
25//\r
26// Forward reference for pure ANSI compatability\r
27//\r
28typedef struct _EFI_BOOT_LOGO_PROTOCOL EFI_BOOT_LOGO_PROTOCOL;\r
29\r
30/**\r
31 Update information of logo image drawn on screen.\r
32\r
33 @param This The pointer to the Boot Logo protocol instance.\r
34 @param BltBuffer The BLT buffer for logo drawn on screen. If BltBuffer\r
35 is set to NULL, it indicates that logo image is no\r
36 longer on the screen.\r
37 @param DestinationX X coordinate of destination for the BltBuffer.\r
38 @param DestinationY Y coordinate of destination for the BltBuffer.\r
39 @param Width Width of rectangle in BltBuffer in pixels.\r
40 @param Height Hight of rectangle in BltBuffer in pixels.\r
41\r
42 @retval EFI_SUCCESS The boot logo information was updated.\r
43 @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.\r
44 @retval EFI_OUT_OF_RESOURCES The logo information was not updated due to\r
45 insufficient memory resources.\r
46\r
47**/\r
48typedef\r
49EFI_STATUS\r
50(EFIAPI *EFI_SET_BOOT_LOGO)(\r
51 IN EFI_BOOT_LOGO_PROTOCOL *This,\r
52 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
53 IN UINTN DestinationX,\r
54 IN UINTN DestinationY,\r
55 IN UINTN Width,\r
56 IN UINTN Height\r
57 );\r
58\r
59struct _EFI_BOOT_LOGO_PROTOCOL {\r
60 EFI_SET_BOOT_LOGO SetBootLogo;\r
61};\r
62\r
63extern EFI_GUID gEfiBootLogoProtocolGuid;\r
64\r
65#endif\r