TianoCore EDK2 master
Loading...
Searching...
No Matches
BootLogo2.h File Reference

Go to the source code of this file.

Data Structures

struct  _EDKII_BOOT_LOGO2_PROTOCOL
 

Macros

#define EDKII_BOOT_LOGO2_PROTOCOL_GUID
 

Typedefs

typedef struct _EDKII_BOOT_LOGO2_PROTOCOL EDKII_BOOT_LOGO2_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * EDKII_SET_BOOT_LOGO2) (IN EDKII_BOOT_LOGO2_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height)
 
typedef EFI_STATUS(EFIAPI * EDKII_GET_BOOT_LOGO2) (IN EDKII_BOOT_LOGO2_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL **BltBuffer, OUT UINTN *DestinationX, OUT UINTN *DestinationY, OUT UINTN *Width, OUT UINTN *Height)
 

Variables

EFI_GUID gEdkiiBootLogo2ProtocolGuid
 

Detailed Description

Boot Logo 2 Protocol is used to convey information of Logo dispayed during boot.

The Boot Logo 2 Protocol is a replacement for the Boot Logo Protocol. If a platform produces both the Boot Logo 2 Protocol and the Boot Logo Protocol then the Boot Logo 2 Protocol must be used instead of the Boot Logo Protocol.

Copyright (c) 2016, Microsoft Corporation Copyright (c) 2018, Intel Corporation. All rights reserved.

All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BootLogo2.h.

Macro Definition Documentation

◆ EDKII_BOOT_LOGO2_PROTOCOL_GUID

#define EDKII_BOOT_LOGO2_PROTOCOL_GUID
Value:
{ \
0x4b5dc1df, 0x1eaa, 0x48b2, { 0xa7, 0xe9, 0xea, 0xc4, 0x89, 0xa0, 0xb, 0x5c } \
}

Definition at line 21 of file BootLogo2.h.

Typedef Documentation

◆ EDKII_BOOT_LOGO2_PROTOCOL

Definition at line 29 of file BootLogo2.h.

◆ EDKII_GET_BOOT_LOGO2

typedef EFI_STATUS(EFIAPI * EDKII_GET_BOOT_LOGO2) (IN EDKII_BOOT_LOGO2_PROTOCOL *This, OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL **BltBuffer, OUT UINTN *DestinationX, OUT UINTN *DestinationY, OUT UINTN *Width, OUT UINTN *Height)

Get the location of the boot logo on the screen.

Parameters
[in]ThisThe pointer to the Boot Logo Protocol 2 instance
[out]BltBufferReturns pointer to the GOP BLT buffer that was previously registered with SetBootLogo2(). The buffer returned must not be modified or freed.
[out]DestinationXReturns the X start position of the GOP BLT buffer that was previously registered with SetBootLogo2().
[out]DestinationYReturns the Y start position of the GOP BLT buffer that was previously registered with SetBootLogo2().
[out]WidthReturns the width of the GOP BLT buffer that was previously registered with SetBootLogo2().
[out]HeightReturns the height of the GOP BLT buffer that was previously registered with SetBootLogo2().
Return values
EFI_SUCCESSThe location of the boot logo was returned.
EFI_NOT_READYThe boot logo has not been set.
EFI_INVALID_PARAMETERBltBuffer is NULL.
EFI_INVALID_PARAMETERDestinationX is NULL.
EFI_INVALID_PARAMETERDestinationY is NULL.
EFI_INVALID_PARAMETERWidth is NULL.
EFI_INVALID_PARAMETERHeight is NULL.

Definition at line 84 of file BootLogo2.h.

◆ EDKII_SET_BOOT_LOGO2

typedef EFI_STATUS(EFIAPI * EDKII_SET_BOOT_LOGO2) (IN EDKII_BOOT_LOGO2_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height)

Update information of logo image drawn on screen.

Parameters
[in]ThisThe pointer to the Boot Logo protocol 2 instance.
[in]BltBufferThe BLT buffer for logo drawn on screen. If BltBuffer is set to NULL, it indicates that logo image is no longer on the screen.
[in]DestinationXX coordinate of destination for the BltBuffer.
[in]DestinationYY coordinate of destination for the BltBuffer.
[in]WidthWidth of rectangle in BltBuffer in pixels.
[in]HeightHight of rectangle in BltBuffer in pixels.
Return values
EFI_SUCCESSThe boot logo information was updated.
EFI_INVALID_PARAMETEROne of the parameters has an invalid value.
EFI_OUT_OF_RESOURCESThe logo information was not updated due to insufficient memory resources.

Definition at line 49 of file BootLogo2.h.