DynamicTablesPkg: AmlLib\AmlDbgPrint fix ECC error

Fix ECC error 8001 reported errors in AmlDbgPrint.
  [8001] Only capital letters are allowed to be used
         for #define declarations.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
This commit is contained in:
Sami Mujawar
2020-09-21 18:19:55 +01:00
committed by mergify[bot]
parent 5e0b708f74
commit e18bc21d6a
8 changed files with 55 additions and 30 deletions

View File

@ -173,7 +173,7 @@ AmlDbgPrintNameSpaceRefList (
while (CurrLink != NameSpaceRefList) {
CurrNameSpaceNode = (AML_NAMESPACE_REF_NODE*)CurrLink;
AmlDbgPrintChars (
AMLDBG_PRINT_CHARS (
DEBUG_INFO,
CurrNameSpaceNode->RawAbsolutePath,
CurrNameSpaceNode->RawAbsolutePathSize
@ -749,7 +749,7 @@ AmlFindMethodDefinition (
}
DEBUG ((DEBUG_VERBOSE, "AmlMethodParser: Checking absolute name: "));
AmlDbgPrintChars (
AMLDBG_PRINT_CHARS (
DEBUG_VERBOSE,
(CONST CHAR8*)AmlStreamGetCurrPos (RawAbsolutePathFStream),
AmlStreamGetMaxBufferSize (RawAbsolutePathFStream)
@ -768,7 +768,7 @@ AmlFindMethodDefinition (
ProbedNameSpaceRefNode = (AML_NAMESPACE_REF_NODE*)NextLink;
// Print the raw absolute path of the probed node.
AmlDbgPrintChars (
AMLDBG_PRINT_CHARS (
DEBUG_VERBOSE,
ProbedNameSpaceRefNode->RawAbsolutePath,
ProbedNameSpaceRefNode->RawAbsolutePathSize
@ -1067,7 +1067,7 @@ AmlIsMethodInvocation (
DEBUG_VERBOSE,
"AmlMethodParser: Corresponding method definition: "
));
AmlDbgPrintChars (
AMLDBG_PRINT_CHARS (
DEBUG_VERBOSE,
NameSpaceRefNode->RawAbsolutePath,
NameSpaceRefNode->RawAbsolutePathSize
@ -1230,7 +1230,7 @@ AmlAddNameSpaceReference (
DEBUG_VERBOSE,
"AmlMethodParser: Adding namespace reference with name:\n"
));
AmlDbgPrintChars (
AMLDBG_PRINT_CHARS (
DEBUG_VERBOSE,
(CONST CHAR8*)AmlStreamGetCurrPos (&RawAbsolutePathBStream),
AmlStreamGetIndex (&RawAbsolutePathBStream)