From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smarthost01a.sbp.mail.zen.net.uk (smarthost01a.sbp.mail.zen.net.uk [212.23.1.1]) by mx.groups.io with SMTP id smtpd.web12.189.1659470428956760925 for ; Tue, 02 Aug 2022 13:00:29 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=permerror, err=parse error for token &{10 18 sdn.klaviyomail.com}: permanent DNS error (domain: starlabs.systems, ip: 212.23.1.1, mailfrom: sean@starlabs.systems) Received: from [217.155.46.38] (helo=starbook.lan) by smarthost01a.sbp.mail.zen.net.uk with esmtp (Exim 4.90_1) (envelope-from ) id 1oIy42-0003Hl-FK; Tue, 02 Aug 2022 20:00:26 +0000 From: "Sean Rhodes" To: devel@edk2.groups.io Cc: Sean Rhodes , Guo Dong , Ray Ni Subject: [PATCH 2/2] UefiPayloadPkg: Load Boot Logo into ACPI table Date: Tue, 2 Aug 2022 21:00:21 +0100 Message-Id: <39460eb9902297917905ffd0ed5d9421558b2760.1659470421.git.sean@starlabs.systems> X-Mailer: git-send-email 2.34.1 In-Reply-To: <657766b60de4e2ecb2ba835a015d2274699a9ba5.1659470421.git.sean@starlabs.systems> References: <657766b60de4e2ecb2ba835a015d2274699a9ba5.1659470421.git.sean@starlabs.systems> MIME-Version: 1.0 X-Originating-smarthost01a-IP: [217.155.46.38] Feedback-ID: 217.155.46.38 Content-Transfer-Encoding: quoted-printable If the boot logo is enabled, this will allow edk2 to pass the logo to the OS via ACPI. Cc: Guo Dong Cc: Ray Ni Signed-off-by: Sean Rhodes --- UefiPayloadPkg/UefiPayloadPkg.dsc | 10 ++++++++++ UefiPayloadPkg/UefiPayloadPkg.fdf | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index abe1a42709..91cd78dbf1 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -300,6 +300,12 @@ VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf=0D ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf=0D =0D +[LibraryClasses.common]=0D +!if $(BOOTSPLASH_IMAGE)=0D + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf=0D + BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.i= nf=0D +!endif=0D +=0D [LibraryClasses.common.SEC]=0D HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf=0D PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D @@ -679,6 +685,10 @@ # ACPI Support=0D #=0D MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf=0D +!if $(BOOTSPLASH_IMAGE)=0D + MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf=0D + MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsRes= ourceTableDxe.inf=0D +!endif=0D =0D #=0D # PCI Support=0D diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayload= Pkg.fdf index d7c9db191c..27534f445d 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -245,6 +245,10 @@ INF MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf # ACPI Support=0D #=0D INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf=0D +!if $(BOOTSPLASH_IMAGE)=0D +INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf=0D +INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphics= ResourceTableDxe.inf=0D +!endif=0D =0D #=0D # UEFI network modules=0D --=20 2.34.1