aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2024-02-07 11:55:02 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2024-02-07 11:55:02 +0300
commit2f2eb8efda6b2f47790d5c59efb5ee5d92fb0048 (patch)
tree642447efbc33ae463e4d0f6e22d4558f1eef230b
parent359a7232e6f9bbb693a418b7289e521f5884ae16 (diff)
downloadUEFI-Lessons-2f2eb8efda6b2f47790d5c59efb5ee5d92fb0048.tar.gz
UEFI-Lessons-2f2eb8efda6b2f47790d5c59efb5ee5d92fb0048.tar.bz2
UEFI-Lessons-2f2eb8efda6b2f47790d5c59efb5ee5d92fb0048.zip
Enable DEBUG build target for debug in OVMF
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
-rw-r--r--UefiLessonsPkg/UefiLessonsPkg.dsc10
1 files changed, 8 insertions, 2 deletions
diff --git a/UefiLessonsPkg/UefiLessonsPkg.dsc b/UefiLessonsPkg/UefiLessonsPkg.dsc
index d51eb2c..d0cc2df 100644
--- a/UefiLessonsPkg/UefiLessonsPkg.dsc
+++ b/UefiLessonsPkg/UefiLessonsPkg.dsc
@@ -11,13 +11,15 @@
PLATFORM_NAME = UefiLessonsPkg
SKUID_IDENTIFIER = DEFAULT
SUPPORTED_ARCHITECTURES = X64
- BUILD_TARGETS = RELEASE
+ BUILD_TARGETS = RELEASE|DEBUG
[LibraryClasses]
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
- DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
+ #DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
+ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
#PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
@@ -171,3 +173,7 @@
#[PcdsDynamicEx]
# gUefiLessonsPkgTokenSpaceGuid.PcdDynamicExInt32|0xBABEBABE|UINT32|0xAF35F3B2
+[PcdsFixedAtBuild]
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
+ gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0xFFFFFFFF
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F