blob: 0a5d52be09442a16d648d133443b5da8200cd473 [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
2 "$id": "cper-json-generic-processor-section",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
4 "type": "object",
5 "required": ["validationBits", "processorType", "processorISA", "errorType", "operation", "flags", "level", "cpuVersionInfo", "cpuBrandString", "processorID", "targetAddress", "requestorID", "responderID", "instructionIP"],
6 "additionalProperties": false,
7 "properties": {
8 "validationBits": {
9 "type": "object",
Lawrence Tangd34f2b12022-07-19 15:36:31 +010010 "required": ["processorTypeValid", "processorISAValid", "processorErrorTypeValid", "operationValid", "flagsValid", "levelValid", "cpuVersionValid", "cpuBrandInfoValid", "cpuIDValid", "targetAddressValid", "requestorIDValid", "responderIDValid", "instructionIPValid"],
Lawrence Tang079d5812022-07-12 14:15:32 +010011 "properties": {
12 "processorTypeValid": {
13 "type": "boolean"
14 },
15 "processorISAValid": {
16 "type": "boolean"
17 },
Lawrence Tangd34f2b12022-07-19 15:36:31 +010018 "processorErrorTypeValid": {
Lawrence Tang079d5812022-07-12 14:15:32 +010019 "type": "boolean"
20 },
21 "operationValid": {
22 "type": "boolean"
23 },
24 "flagsValid": {
25 "type": "boolean"
26 },
27 "levelValid": {
28 "type": "boolean"
29 },
30 "cpuVersionValid": {
31 "type": "boolean"
32 },
33 "cpuBrandInfoValid": {
34 "type": "boolean"
35 },
36 "cpuIDValid": {
37 "type": "boolean"
38 },
39 "targetAddressValid": {
40 "type": "boolean"
41 },
42 "requestorIDValid": {
43 "type": "boolean"
44 },
45 "responderIDValid": {
46 "type": "boolean"
47 },
48 "instructionIPValid": {
49 "type": "boolean"
50 }
51 }
52 },
53 "processorType": {
54 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010055 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010056 },
57 "processorISA": {
58 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010059 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010060 },
61 "errorType": {
62 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010063 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010064 },
65 "operation": {
66 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010067 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010068 },
69 "flags": {
70 "type": "object",
Lawrence Tangd34f2b12022-07-19 15:36:31 +010071 "required": ["restartable", "preciseIP", "overflow", "corrected"],
Lawrence Tang079d5812022-07-12 14:15:32 +010072 "properties": {
Lawrence Tangd34f2b12022-07-19 15:36:31 +010073 "restartable": {
Lawrence Tang079d5812022-07-12 14:15:32 +010074 "type": "boolean"
75 },
76 "preciseIP": {
77 "type": "boolean"
78 },
79 "overflow": {
80 "type": "boolean"
81 },
82 "corrected": {
83 "type": "boolean"
84 }
85 }
86 },
87 "level": {
88 "type": "integer"
89 },
90 "cpuVersionInfo": {
91 "type": "integer"
92 },
93 "cpuBrandString": {
94 "type": "string"
95 },
96 "processorID": {
97 "type": "integer"
98 },
99 "targetAddress": {
100 "type": "integer"
101 },
102 "requestorID": {
103 "type": "integer"
104 },
105 "responderID": {
106 "type": "integer"
107 },
108 "instructionIP": {
109 "type": "integer"
110 }
111 }
112}