Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "type": "object", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 4 | "required": [ |
| 5 | "version", |
| 6 | "revision", |
| 7 | "oemID", |
| 8 | "capabilityRegister", |
| 9 | "extendedCapabilityRegister", |
| 10 | "globalCommandRegister", |
| 11 | "globalStatusRegister", |
| 12 | "faultStatusRegister", |
| 13 | "faultRecord", |
| 14 | "rootEntry", |
| 15 | "contextEntry", |
| 16 | "pageTableEntry_Level6", |
| 17 | "pageTableEntry_Level5", |
| 18 | "pageTableEntry_Level4", |
| 19 | "pageTableEntry_Level3", |
| 20 | "pageTableEntry_Level2", |
| 21 | "pageTableEntry_Level1" |
| 22 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 23 | "additionalProperties": false, |
| 24 | "properties": { |
| 25 | "version": { |
| 26 | "type": "integer" |
| 27 | }, |
| 28 | "revision": { |
| 29 | "type": "integer" |
| 30 | }, |
| 31 | "oemID": { |
| 32 | "type": "integer" |
| 33 | }, |
| 34 | "capabilityRegister": { |
| 35 | "type": "integer" |
| 36 | }, |
| 37 | "extendedCapabilityRegister": { |
| 38 | "type": "integer" |
| 39 | }, |
| 40 | "globalCommandRegister": { |
| 41 | "type": "integer" |
| 42 | }, |
| 43 | "globalStatusRegister": { |
| 44 | "type": "integer" |
| 45 | }, |
| 46 | "faultStatusRegister": { |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 47 | "type": "integer" |
| 48 | }, |
| 49 | "faultRecord": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 50 | "type": "object", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 51 | "required": [ |
| 52 | "faultInformation", |
| 53 | "sourceIdentifier", |
| 54 | "privelegeModeRequested", |
| 55 | "executePermissionRequested", |
| 56 | "pasidPresent", |
| 57 | "faultReason", |
| 58 | "pasidValue", |
| 59 | "addressType", |
| 60 | "type" |
| 61 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 62 | "properties": { |
| 63 | "faultInformation": { |
| 64 | "type": "integer" |
| 65 | }, |
| 66 | "sourceIdentifier": { |
| 67 | "type": "integer" |
| 68 | }, |
| 69 | "privelegeModeRequested": { |
| 70 | "type": "boolean" |
| 71 | }, |
| 72 | "executePermissionRequested": { |
| 73 | "type": "boolean" |
| 74 | }, |
| 75 | "pasidPresent": { |
| 76 | "type": "boolean" |
| 77 | }, |
| 78 | "faultReason": { |
| 79 | "type": "integer" |
| 80 | }, |
| 81 | "pasidValue": { |
| 82 | "type": "integer" |
| 83 | }, |
| 84 | "addressType": { |
| 85 | "type": "integer" |
| 86 | }, |
| 87 | "type": { |
| 88 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 89 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 90 | } |
| 91 | } |
| 92 | }, |
| 93 | "rootEntry": { |
| 94 | "type": "string" |
| 95 | }, |
| 96 | "contextEntry": { |
| 97 | "type": "string" |
| 98 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 99 | "pageTableEntry_Level6": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 100 | "type": "integer" |
| 101 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 102 | "pageTableEntry_Level5": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 103 | "type": "integer" |
| 104 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 105 | "pageTableEntry_Level4": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 106 | "type": "integer" |
| 107 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 108 | "pageTableEntry_Level3": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 109 | "type": "integer" |
| 110 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 111 | "pageTableEntry_Level2": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 112 | "type": "integer" |
| 113 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 114 | "pageTableEntry_Level1": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 115 | "type": "integer" |
| 116 | } |
| 117 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 118 | } |