Skip to content

Commit 5691a30

Browse files
author
Derek Hower
committed
Run pre-commit on all files
1 parent 7fbed0a commit 5691a30

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+555
-560
lines changed

arch/ext/Q.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: |
1414
a double-precision value which is itself NaN-boxed inside a quad-precision value.
1515
type: unprivileged
1616
versions:
17-
- version: "1.0.0"
18-
state: ratified
19-
ratification_date: null
20-
requires: D
17+
- version: "1.0.0"
18+
state: ratified
19+
ratification_date: null
20+
requires: D

arch/ext/Sdext.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ description: |
88
Hart-visible portion of the debug spec.
99
type: privileged
1010
versions:
11-
- version: "1.0.0"
12-
state: ratified
13-
ratification_date: null
11+
- version: "1.0.0"
12+
state: ratified
13+
ratification_date: null

arch/ext/Shgatpa.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ description: |
1313
This extension was ratified with the RVA22 profiles.
1414
type: privileged
1515
versions:
16-
- version: "1.0.0"
17-
state: ratified
18-
ratification_date: null
19-
param_constraints:
20-
SV32X4_TRANSLATION:
21-
extra_validation: |
22-
(SV32X4_TRANSLATION && ext?(:Sv32)) || (!SV32X4_TRANSLATION && !ext?(:Sv32))
23-
SV39X4_TRANSLATION:
24-
extra_validation: |
25-
(SV39X4_TRANSLATION && ext?(:Sv39)) || (!SV39X4_TRANSLATION && !ext?(:Sv39))
26-
SV48X4_TRANSLATION:
27-
extra_validation: |
28-
(SV48X4_TRANSLATION && ext?(:Sv48)) || (!SV48X4_TRANSLATION && !ext?(:Sv48))
29-
SV57X4_TRANSLATION:
30-
extra_validation: |
31-
(SV57X4_TRANSLATION && ext?(:Sv57)) || (!SV57X4_TRANSLATION && !ext?(:Sv57))
32-
GSTAGE_MODE_BARE:
33-
schema:
34-
const: true
16+
- version: "1.0.0"
17+
state: ratified
18+
ratification_date: null
19+
param_constraints:
20+
SV32X4_TRANSLATION:
21+
extra_validation: |
22+
(SV32X4_TRANSLATION && ext?(:Sv32)) || (!SV32X4_TRANSLATION && !ext?(:Sv32))
23+
SV39X4_TRANSLATION:
24+
extra_validation: |
25+
(SV39X4_TRANSLATION && ext?(:Sv39)) || (!SV39X4_TRANSLATION && !ext?(:Sv39))
26+
SV48X4_TRANSLATION:
27+
extra_validation: |
28+
(SV48X4_TRANSLATION && ext?(:Sv48)) || (!SV48X4_TRANSLATION && !ext?(:Sv48))
29+
SV57X4_TRANSLATION:
30+
extra_validation: |
31+
(SV57X4_TRANSLATION && ext?(:Sv57)) || (!SV57X4_TRANSLATION && !ext?(:Sv57))
32+
GSTAGE_MODE_BARE:
33+
schema:
34+
const: true

arch/ext/Shtvala.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ description: |
1616
This extension was ratified with the RVA22 profiles.
1717
type: privileged
1818
versions:
19-
- version: "1.0.0"
20-
state: ratified
21-
ratification_date: null
22-
param_constraints:
23-
REPORT_GPA_IN_HTVAL_ON_GUEST_PAGE_FAULT:
24-
schema:
25-
const: true
19+
- version: "1.0.0"
20+
state: ratified
21+
ratification_date: null
22+
param_constraints:
23+
REPORT_GPA_IN_HTVAL_ON_GUEST_PAGE_FAULT:
24+
schema:
25+
const: true

arch/ext/Shvstvala.yaml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,40 @@ description: |
1616
This extension was ratified with the RVA22 profiles.
1717
type: privileged
1818
versions:
19-
- version: "1.0.0"
20-
state: ratified
21-
ratification_date: null
22-
param_constraints:
23-
REPORT_VA_IN_VSTVAL_ON_BREAKPOINT:
24-
schema:
25-
const: true
26-
REPORT_VA_IN_VSTVAL_ON_LOAD_MISALIGNED:
27-
schema:
28-
const: true
29-
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_MISALIGNED:
30-
schema:
31-
const: true
32-
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_MISALIGNED:
33-
schema:
34-
const: true
35-
REPORT_VA_IN_VSTVAL_ON_LOAD_ACCESS_FAULT:
36-
schema:
37-
const: true
38-
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_ACCESS_FAULT:
39-
schema:
40-
const: true
41-
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_ACCESS_FAULT:
42-
schema:
43-
const: true
44-
REPORT_VA_IN_VSTVAL_ON_LOAD_PAGE_FAULT:
45-
schema:
46-
const: true
47-
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_PAGE_FAULT:
48-
schema:
49-
const: true
50-
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_PAGE_FAULT:
51-
schema:
52-
const: true
53-
REPORT_ENCODING_IN_VSTVAL_ON_ILLEGAL_INSTRUCTION:
54-
schema:
55-
const: true
19+
- version: "1.0.0"
20+
state: ratified
21+
ratification_date: null
22+
param_constraints:
23+
REPORT_VA_IN_VSTVAL_ON_BREAKPOINT:
24+
schema:
25+
const: true
26+
REPORT_VA_IN_VSTVAL_ON_LOAD_MISALIGNED:
27+
schema:
28+
const: true
29+
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_MISALIGNED:
30+
schema:
31+
const: true
32+
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_MISALIGNED:
33+
schema:
34+
const: true
35+
REPORT_VA_IN_VSTVAL_ON_LOAD_ACCESS_FAULT:
36+
schema:
37+
const: true
38+
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_ACCESS_FAULT:
39+
schema:
40+
const: true
41+
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_ACCESS_FAULT:
42+
schema:
43+
const: true
44+
REPORT_VA_IN_VSTVAL_ON_LOAD_PAGE_FAULT:
45+
schema:
46+
const: true
47+
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_PAGE_FAULT:
48+
schema:
49+
const: true
50+
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_PAGE_FAULT:
51+
schema:
52+
const: true
53+
REPORT_ENCODING_IN_VSTVAL_ON_ILLEGAL_INSTRUCTION:
54+
schema:
55+
const: true

arch/ext/Shvstvecd.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ description: |
1313
This extension was ratified with the RVA22 profiles.
1414
type: privileged
1515
versions:
16-
- version: "1.0.0"
17-
state: ratified
18-
ratification_date: null
19-
param_constraints:
20-
VSTVEC_MODE_DIRECT:
21-
schema:
22-
const: true
16+
- version: "1.0.0"
17+
state: ratified
18+
ratification_date: null
19+
param_constraints:
20+
VSTVEC_MODE_DIRECT:
21+
schema:
22+
const: true

arch/ext/Smdbltrp.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ description: |
1717
critical-error signal to the platform when the hart is in a critical error state.
1818
type: privileged
1919
versions:
20-
- version: "1.0.0"
21-
state: ratified
22-
ratification_date: null
20+
- version: "1.0.0"
21+
state: ratified
22+
ratification_date: null

arch/ext/Smrnmi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ description: |
1616
interrupted state, and one new instruction, `mnret`, to resume from the RNMI handler.
1717
type: unprivileged
1818
versions:
19-
- version: "1.0.0"
20-
state: ratified
21-
ratification_date: null
19+
- version: "1.0.0"
20+
state: ratified
21+
ratification_date: null

arch/ext/Ssstateen.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ name: Ssstateen
66
long_name: Supervisor-mode view of the state-enable extension
77
description: |
88
Supervisor-mode view of the state-enable extension. The
9-
supervisor-mode (`sstateen0-3`) and hypervisor-mode (`hstateen0-3`)
10-
state-enable registers must be provided.
11-
12-
NOTE: The Smstateen extension specification is an M-mode extension as
13-
it includes M-mode features, but the supervisor-mode visible
14-
components of the extension are named as the Ssstateen extension. Only
15-
Ssstateen is mandated in the RVA22S64 profile when the hypervisor
16-
extension is implemented. These registers are not mandated or
17-
supported options without the hypervisor extension, as there are no
18-
RVA22S64 supported options with relevant state to control in the
19-
absence of the hypervisor extension.
9+
supervisor-mode (`sstateen0-3`) and hypervisor-mode (`hstateen0-3`)
10+
state-enable registers must be provided.
11+
12+
NOTE: The Smstateen extension specification is an M-mode extension as
13+
it includes M-mode features, but the supervisor-mode visible
14+
components of the extension are named as the Ssstateen extension. Only
15+
Ssstateen is mandated in the RVA22S64 profile when the hypervisor
16+
extension is implemented. These registers are not mandated or
17+
supported options without the hypervisor extension, as there are no
18+
RVA22S64 supported options with relevant state to control in the
19+
absence of the hypervisor extension.
2020
2121
[NOTE]
2222
This extension was ratified with the RVA22 profiles.
2323
type: privileged
2424
versions:
25-
- version: "1.0.0"
26-
state: ratified
27-
ratification_date: null
28-
# TODO: add param_constraints
25+
- version: "1.0.0"
26+
state: ratified
27+
ratification_date: null
28+
# TODO: add param_constraints

arch/ext/Ssu64xl.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ description: |
1111
This extension is defined by RVA22.
1212
type: privileged
1313
versions:
14-
- version: "1.0.0"
15-
state: ratified
16-
ratification_date: null
17-
param_constraints:
18-
UXLEN:
19-
schema:
20-
enum: [64, 3264]
14+
- version: "1.0.0"
15+
state: ratified
16+
ratification_date: null
17+
param_constraints:
18+
UXLEN:
19+
schema:
20+
enum: [64, 3264]

0 commit comments

Comments
 (0)