MdePkg: Add DEBUG_MANAGEABILITY print error level

Bug #4414

Add DEBUG_MANAGEABILITY print error lever to
output debug message of detailed manageability
related module information, such as
- RedfishPkg:
  - HTTP header/request/response
  - JSON plain text
  - Refish resource
  - Redfish Host interface information
  - Redfish credential information
  - Platform configuration to Redfish mapping
  - etc.
- ManageabilityPKg
  - Protocol payload of MCTP/PLDM/IPMI
  - Payload of transport interface transfers
  - IPMI BLOB transfer
  - etc.
- RedfishClinetPkg
  - Redfish feature driver dispatcher
  - Redfish BIOS attributes
  - Platform configuration (HII) to
    Redfish property information
  - Redfish C structure information
  - etc.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
Cc: Tinh Nguyen <tinhnguyen@os.amperecomputing.com>
This commit is contained in:
Abner Chang 2023-04-16 15:11:21 +08:00 committed by mergify[bot]
parent 3163f34a42
commit ed2ff315db
2 changed files with 23 additions and 20 deletions

View File

@ -48,6 +48,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define DEBUG_CACHE 0x00200000 // Memory range cachability changes #define DEBUG_CACHE 0x00200000 // Memory range cachability changes
#define DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may #define DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
// significantly impact boot performance // significantly impact boot performance
#define DEBUG_MANAGEABILITY 0x00800000 // Detailed debug and payload message of manageability
// related modules, such Redfish, IPMI, MCTP and etc.
#define DEBUG_ERROR 0x80000000 // Error #define DEBUG_ERROR 0x80000000 // Error
// //

View File

@ -2282,6 +2282,7 @@
# BIT20 - Global Coherency Database changes message.<BR> # BIT20 - Global Coherency Database changes message.<BR>
# BIT21 - Memory range cachability changes message.<BR> # BIT21 - Memory range cachability changes message.<BR>
# BIT22 - Detailed debug message.<BR> # BIT22 - Detailed debug message.<BR>
# BIT23 - Manageability messages.<BR>
# BIT31 - Error message.<BR> # BIT31 - Error message.<BR>
# @Prompt Debug Message Print Level. # @Prompt Debug Message Print Level.
# @Expression 0x80000002 | (gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel & 0x7F84AA00) == 0 # @Expression 0x80000002 | (gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel & 0x7F84AA00) == 0