Add helper function HexDump for printing hex dump of CM Object fields.
Also merge multiple flavors of PrintCharX into one function PrintChars by using the field length.
[ ] Breaking change?
Breaking change - Will this cause a break in build or boot behavior?
Examples: Add a new library class or move a module to a different repo.
[ ] Impacts security?
Security - Does the change have a direct security impact?
Examples: Crypto algorithm change or buffer overflow fix.
[ ] Includes tests?
Tests - Does the change include any explicit test code?
Examples: Unit tests or integration tests.
How This Was Tested
Called ParseCmObjDesc() and ensured that "AcpiTableSignature", "OemTableId", "OemId[6]" fields were printed correctly. And HexDump was tested by dumping the 12 bytes of TPM2 "StartMethodParameters".
Description
Add helper function HexDump for printing hex dump of CM Object fields.
Also merge multiple flavors of PrintCharX into one function PrintChars by using the field length.
How This Was Tested
Called ParseCmObjDesc() and ensured that "AcpiTableSignature", "OemTableId", "OemId[6]" fields were printed correctly. And HexDump was tested by dumping the 12 bytes of TPM2 "StartMethodParameters".
Integration Instructions
N/A