## @file EnableRichDebugMessages.dsc
# This takes care to turn on a higher level of debug messages that produces a
# balance between performance and greater levels of detail.
# This also customizes cores to use BaseDebugLibSerialPort for maximum
# messaging.
#
# @copyright
# Copyright 2020 - 2021 Intel Corporation.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
#
# Customize debug messages
#
[PcdsFixedAtBuild]
## This flag is used to control the built in Debug messages.
# BIT0 - Initialization message.
# BIT1 - Warning message.
# BIT2 - Load Event message.
# BIT3 - File System message.
# BIT4 - Allocate or Free Pool message.
# BIT5 - Allocate or Free Page message.
# BIT6 - Information message.
# BIT7 - Dispatcher message.
# BIT8 - Variable message.
# BIT10 - Boot Manager message.
# BIT12 - BlockIo Driver message.
# BIT14 - Network Driver message.
# BIT16 - UNDI Driver message
# BIT17 - LoadFile message.
# BIT19 - Event message.
# BIT20 - Global Coherency Database changes message.
# BIT21 - Memory range cachability changes message.
# BIT22 - Detailed debug message.
# BIT31 - Error message.
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x802A00C7
[PcdsPatchableInModule]
#
# This flag is used to control the displayed Debug messages.
# For simplification, we like to ensure both built in and enabled are in sync
#
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel
[LibraryClasses.IA32.PEI_CORE]
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
[LibraryClasses.X64.DXE_CORE]
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf