TianoCore EDK2 master
|
#include <Uefi.h>
#include <Protocol/HiiDatabase.h>
#include <Protocol/GraphicsOutput.h>
#include <Protocol/HiiImageEx.h>
#include <Protocol/PlatformLogo.h>
#include <Protocol/HiiPackageList.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
Go to the source code of this file.
Data Structures | |
struct | LOGO_ENTRY |
Functions | |
EFI_STATUS EFIAPI | GetImage (IN EDKII_PLATFORM_LOGO_PROTOCOL *This, IN OUT UINT32 *Instance, OUT EFI_IMAGE_INPUT *Image, OUT EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE *Attribute, OUT INTN *OffsetX, OUT INTN *OffsetY) |
EFI_STATUS EFIAPI | InitializeLogo (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_HII_IMAGE_EX_PROTOCOL * | mHiiImageEx |
EFI_HII_HANDLE | mHiiHandle |
LOGO_ENTRY | mLogos [] |
EDKII_PLATFORM_LOGO_PROTOCOL | mPlatformLogo |
Logo DXE Driver, install Edkii Platform Logo protocol.
Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Logo.c.
EFI_STATUS EFIAPI GetImage | ( | IN EDKII_PLATFORM_LOGO_PROTOCOL * | This, |
IN OUT UINT32 * | Instance, | ||
OUT EFI_IMAGE_INPUT * | Image, | ||
OUT EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE * | Attribute, | ||
OUT INTN * | OffsetX, | ||
OUT INTN * | OffsetY | ||
) |
Load a platform logo image and return its data and attributes.
This | The pointer to this protocol instance. |
Instance | The visible image instance is found. |
Image | Points to the image. |
Attribute | The display attributes of the image returned. |
OffsetX | The X offset of the image regarding the Attribute. |
OffsetY | The Y offset of the image regarding the Attribute. |
EFI_SUCCESS | The image was fetched successfully. |
EFI_NOT_FOUND | The specified image could not be found. |
EFI_STATUS EFIAPI InitializeLogo | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Entrypoint of this module.
This function is the entrypoint of this module. It installs the Edkii Platform Logo protocol.
ImageHandle | The firmware allocated handle for the EFI image. |
SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
EFI_HII_HANDLE mHiiHandle |
EFI_HII_IMAGE_EX_PROTOCOL* mHiiImageEx |
LOGO_ENTRY mLogos[] |
EDKII_PLATFORM_LOGO_PROTOCOL mPlatformLogo |