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-pci-bus.json b/specification/json/sections/cper-pci-bus.json
index 503c065..ba23e72 100644
--- a/specification/json/sections/cper-pci-bus.json
+++ b/specification/json/sections/cper-pci-bus.json
@@ -10,7 +10,9 @@
"busData",
"busCommandType",
"busRequestorID",
+ "busRequestorIDHex",
"busCompleterID",
+ "busCompleterIDHex",
"targetID"
],
"additionalProperties": false,
@@ -99,10 +101,16 @@
"type": "integer",
"description": "PCI Bus Requestor Id."
},
+ "busRequestorIDHex": {
+ "type": "string"
+ },
"busCompleterID": {
"type": "integer",
"description": "PCI Bus Responder Id."
},
+ "busCompleterIDHex": {
+ "type": "string"
+ },
"targetID": {
"type": "integer",
"description": "PCI Bus intended target identifier."