This is a shoehorned-in implementation of an ACPI BGRT table, ported pretty much directly from the version used under CorebootPayloadPkg. EDK2 provides a facility to do this already, but it assumes the ACPI tables already exist as EFI structures, so would need to write code to populate those using the tables already in RAM created by coreboot. This seemed like the easier option ATM. Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
61 lines
1.8 KiB
INI
61 lines
1.8 KiB
INI
## @file
|
|
# This library is only intended to be used by PlatformBootManagerLib
|
|
# to show progress bar and logo.
|
|
#
|
|
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
# Copyright (c) 2016, Microsoft Corporation<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = BootLogoLib
|
|
MODULE_UNI_FILE = BootLogoLib.uni
|
|
FILE_GUID = 85CDAFAD-13BE-422A-A8E5-55A249600DC3
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = BootLogoLib|DXE_DRIVER UEFI_APPLICATION
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
Bgrt.c
|
|
BootLogoLib.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
UefiBootServicesTableLib
|
|
MemoryAllocationLib
|
|
UefiLib
|
|
BaseMemoryLib
|
|
DebugLib
|
|
PrintLib
|
|
PcdLib
|
|
|
|
[Protocols]
|
|
gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport ## SOMETIMES_CONSUMES
|
|
gEfiBootLogoProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEdkiiBootLogo2ProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiUserManagerProtocolGuid ## CONSUMES
|
|
gEdkiiPlatformLogoProtocolGuid ## CONSUMES
|
|
|
|
[Guids]
|
|
gEfiAcpiTableGuid ## CONSUMES ## GUID
|
|
gEfiAcpi20TableGuid ## CONSUMES ## GUID
|
|
|
|
[FeaturePcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES
|
|
|
|
[Pcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdLogoFile ## CONSUMES
|