]>
Commit | Line | Data |
---|---|---|
e2988e66 | 1 | /** @file\r |
2 | Boot Logo protocol is used to convey information of Logo dispayed during boot.\r | |
3 | \r | |
4 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
9d510e61 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e2988e66 | 6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef _BOOT_LOGO_H_\r | |
10 | #define _BOOT_LOGO_H_\r | |
11 | \r | |
12 | #include <Protocol/GraphicsOutput.h>\r | |
13 | \r | |
14 | #define EFI_BOOT_LOGO_PROTOCOL_GUID \\r | |
15 | { \\r | |
16 | 0xcdea2bd3, 0xfc25, 0x4c1c, { 0xb9, 0x7c, 0xb3, 0x11, 0x86, 0x6, 0x49, 0x90 } \\r | |
17 | }\r | |
18 | \r | |
19 | //\r | |
20 | // Forward reference for pure ANSI compatability\r | |
21 | //\r | |
22 | typedef struct _EFI_BOOT_LOGO_PROTOCOL EFI_BOOT_LOGO_PROTOCOL;\r | |
23 | \r | |
24 | /**\r | |
25 | Update information of logo image drawn on screen.\r | |
26 | \r | |
27 | @param This The pointer to the Boot Logo protocol instance.\r | |
28 | @param BltBuffer The BLT buffer for logo drawn on screen. If BltBuffer\r | |
29 | is set to NULL, it indicates that logo image is no\r | |
30 | longer on the screen.\r | |
31 | @param DestinationX X coordinate of destination for the BltBuffer.\r | |
32 | @param DestinationY Y coordinate of destination for the BltBuffer.\r | |
33 | @param Width Width of rectangle in BltBuffer in pixels.\r | |
34 | @param Height Hight of rectangle in BltBuffer in pixels.\r | |
35 | \r | |
36 | @retval EFI_SUCCESS The boot logo information was updated.\r | |
37 | @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.\r | |
38 | @retval EFI_OUT_OF_RESOURCES The logo information was not updated due to\r | |
39 | insufficient memory resources.\r | |
40 | \r | |
41 | **/\r | |
42 | typedef\r | |
43 | EFI_STATUS\r | |
44 | (EFIAPI *EFI_SET_BOOT_LOGO)(\r | |
45 | IN EFI_BOOT_LOGO_PROTOCOL *This,\r | |
46 | IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r | |
47 | IN UINTN DestinationX,\r | |
48 | IN UINTN DestinationY,\r | |
49 | IN UINTN Width,\r | |
50 | IN UINTN Height\r | |
51 | );\r | |
52 | \r | |
53 | struct _EFI_BOOT_LOGO_PROTOCOL {\r | |
54 | EFI_SET_BOOT_LOGO SetBootLogo;\r | |
55 | };\r | |
56 | \r | |
57 | extern EFI_GUID gEfiBootLogoProtocolGuid;\r | |
58 | \r | |
59 | #endif\r |