mirror of https://github.com/acidanthera/audk.git
ArmVirtualizationPkg: expose debug message bitmask on build command line
This enables -D DEBUG_PRINT_ERROR_LEVEL=0x8040004F style command line options. Since we're massaging the debug message bitmask anyway, let's update the description of the individual bits too in the comments, so that they match "MdePkg/Include/Library/DebugLib.h". Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16986 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7602900aba
commit
d301991cbc
|
@ -12,6 +12,9 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
[Defines]
|
||||||
|
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
!if $(TARGET) == RELEASE
|
!if $(TARGET) == RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
|
@ -277,8 +280,8 @@
|
||||||
# DEBUG_FS 0x00000008 // EFI File system
|
# DEBUG_FS 0x00000008 // EFI File system
|
||||||
# DEBUG_POOL 0x00000010 // Alloc & Free's
|
# DEBUG_POOL 0x00000010 // Alloc & Free's
|
||||||
# DEBUG_PAGE 0x00000020 // Alloc & Free's
|
# DEBUG_PAGE 0x00000020 // Alloc & Free's
|
||||||
# DEBUG_INFO 0x00000040 // Verbose
|
# DEBUG_INFO 0x00000040 // Informational debug messages
|
||||||
# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
|
# DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
|
||||||
# DEBUG_VARIABLE 0x00000100 // Variable
|
# DEBUG_VARIABLE 0x00000100 // Variable
|
||||||
# DEBUG_BM 0x00000400 // Boot Manager
|
# DEBUG_BM 0x00000400 // Boot Manager
|
||||||
# DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
# DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
||||||
|
@ -288,8 +291,10 @@
|
||||||
# DEBUG_EVENT 0x00080000 // Event messages
|
# DEBUG_EVENT 0x00080000 // Event messages
|
||||||
# DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
# DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
||||||
# DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
# DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
||||||
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
||||||
|
# // significantly impact boot performance
|
||||||
# DEBUG_ERROR 0x80000000 // Error
|
# DEBUG_ERROR 0x80000000 // Error
|
||||||
# gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
|
||||||
|
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
||||||
|
|
||||||
|
|
|
@ -91,8 +91,6 @@
|
||||||
gArmVirtualizationTokenSpaceGuid.PcdKludgeMapPciMmioAsCached|TRUE
|
gArmVirtualizationTokenSpaceGuid.PcdKludgeMapPciMmioAsCached|TRUE
|
||||||
|
|
||||||
[PcdsFixedAtBuild.common]
|
[PcdsFixedAtBuild.common]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
|
||||||
|
|
||||||
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"QEMU"
|
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"QEMU"
|
||||||
|
|
||||||
gArmPlatformTokenSpaceGuid.PcdCoreCount|1
|
gArmPlatformTokenSpaceGuid.PcdCoreCount|1
|
||||||
|
|
|
@ -79,8 +79,6 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
[PcdsFixedAtBuild.common]
|
[PcdsFixedAtBuild.common]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
|
||||||
|
|
||||||
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"XEN-UEFI"
|
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"XEN-UEFI"
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue