uefi stuff
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
From b2427c0f29a2a1d68f0dbd955dd11f832c071800 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Mario=20B=C4=83l=C4=83nic=C4=83?=
|
||||
<mariobalanica02@gmail.com>
|
||||
Date: Fri, 15 Mar 2024 03:11:25 +0200
|
||||
Subject: [PATCH 15/16] Platform/RPi5: Make AcpiTableDxe less verbose
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
No need to print the entire namespace each time a value is patched.
|
||||
|
||||
Signed-off-by: Mario Bălănică <mariobalanica02@gmail.com>
|
||||
---
|
||||
Platform/RaspberryPi/RPi5/RPi5.dsc | 31 ++++++++++++++++++------------
|
||||
1 file changed, 19 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/Platform/RaspberryPi/RPi5/RPi5.dsc b/Platform/RaspberryPi/RPi5/RPi5.dsc
|
||||
index 58eb5dfd..e78f8c85 100644
|
||||
--- a/Platform/RaspberryPi/RPi5/RPi5.dsc
|
||||
+++ b/Platform/RaspberryPi/RPi5/RPi5.dsc
|
||||
@@ -48,6 +48,20 @@
|
||||
DEFINE TFA_BUILD_BL31 = $(TFA_BUILD_ARTIFACTS)/bl31.bin
|
||||
!endif
|
||||
|
||||
+ #
|
||||
+ # DEBUG_ASSERT_ENABLED 0x01
|
||||
+ # DEBUG_PRINT_ENABLED 0x02
|
||||
+ # DEBUG_CODE_ENABLED 0x04
|
||||
+ # CLEAR_MEMORY_ENABLED 0x08
|
||||
+ # ASSERT_BREAKPOINT_ENABLED 0x10
|
||||
+ # ASSERT_DEADLOOP_ENABLED 0x20
|
||||
+ #
|
||||
+!if $(TARGET) == RELEASE
|
||||
+ DEFINE DEBUG_PROPERTY_MASK = 0x21
|
||||
+!else
|
||||
+ DEFINE DEBUG_PROPERTY_MASK = 0x2f
|
||||
+!endif
|
||||
+
|
||||
################################################################################
|
||||
#
|
||||
# Library Class section - list of all Library Classes needed by this Platform.
|
||||
@@ -291,17 +305,7 @@
|
||||
gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
|
||||
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
|
||||
|
||||
- # DEBUG_ASSERT_ENABLED 0x01
|
||||
- # DEBUG_PRINT_ENABLED 0x02
|
||||
- # DEBUG_CODE_ENABLED 0x04
|
||||
- # CLEAR_MEMORY_ENABLED 0x08
|
||||
- # ASSERT_BREAKPOINT_ENABLED 0x10
|
||||
- # ASSERT_DEADLOOP_ENABLED 0x20
|
||||
-!if $(TARGET) == RELEASE
|
||||
- gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
||||
-!else
|
||||
- gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
||||
-!endif
|
||||
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
|
||||
|
||||
# DEBUG_INIT 0x00000001 // Initialization
|
||||
# DEBUG_WARN 0x00000002 // Warnings
|
||||
@@ -594,7 +598,10 @@
|
||||
#
|
||||
# ACPI Support
|
||||
#
|
||||
- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
||||
+ MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
|
||||
+ <PcdsFixedAtBuild>
|
||||
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK) & ~0x04
|
||||
+ }
|
||||
MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
|
||||
Platform/RaspberryPi/RPi5/AcpiTables/AcpiTables.inf
|
||||
|
||||
--
|
||||
2.51.2
|
||||
|
||||
Reference in New Issue
Block a user