Include hex decode for human readable fields
Hexadecimal decode for some fields like deviceAddress
make sense to be represented in hex over decimal to make
scripting and human-usability easier.
Change-Id: I7d0d100162bc681c3c6885ca01ed23020c3b5063
Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
diff --git a/specification/json/sections/cper-memory2.json b/specification/json/sections/cper-memory2.json
index 0f57f63..edc62ab 100644
--- a/specification/json/sections/cper-memory2.json
+++ b/specification/json/sections/cper-memory2.json
@@ -8,6 +8,7 @@
"memoryErrorType",
"status",
"physicalAddress",
+ "physicalAddressHex",
"physicalAddressMask",
"node",
"card",
@@ -178,6 +179,9 @@
"type": "integer",
"description": "The physical address at which the memory error occurred."
},
+ "physicalAddressHex": {
+ "type": "string"
+ },
"physicalAddressMask": {
"type": "integer",
"description": "Defines the valid address bits in the Physical Address field. The mask specifies the granularity of the physical address which is dependent on the hardware implementation factors such as interleaving."