Skip to content

Commit ffe1ea6

Browse files
authored
fix: correct "writeable" to "writable" (#728)
Both are used in places. While "writeable" is generally defined as "an alternative spelling of 'writable'", the latter seems to be generally accepted as correct/preferred. The RISC-V ISA specification uses "writable". BREAKING CHANGE: Change spelling of "writeable" to "writeable" everywhere The spelling of "writeable" is corrected to "writable" everywhere, including CSR schema and configuration parameters.
1 parent 00f1540 commit ffe1ea6

Some content is hidden

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

74 files changed

+109
-109
lines changed

arch/csr/F/fcsr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kind: csr
55
name: fcsr
66
long_name: Floating-point control and status register (`frm` + `fflags`)
77
address: 0x003
8-
writeable: true
8+
writable: true
99
description: |
1010
The floating-point control and status register, `fcsr`, is a RISC-V
1111
control and status register (CSR). It is a 32-bit read/write register

arch/csr/H/henvcfg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schema: "csr_schema.json#"
44
kind: csr
55
name: henvcfg
66
address: 0x60A
7-
writeable: true
7+
writable: true
88
long_name: Hypervisor Environment Configuration
99
description: |
1010
The henvcfg CSR is a 64-bit read/write register that controls certain characteristics of the

arch/csr/H/henvcfgh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schema: "csr_schema.json#"
44
kind: csr
55
name: henvcfgh
66
address: 0x61A
7-
writeable: true
7+
writable: true
88
base: 32
99
long_name: most-significant 32 bits of Hypervisor Environment Configuration
1010
description: |

arch/csr/H/hgatp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ description: |
102102
HFENCE.GVMA instruction (see <<hfence.vma>>) before or
103103
after writing `hgatp`.
104104
address: 0x680
105-
writeable: true
105+
writable: true
106106
priv_mode: S
107107
definedBy: H
108108
length: SXLEN

arch/csr/H/htimedelta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: |
1515
`htimedelta` may be used to represent negative time offsets.
1616
1717
address: 0x605
18-
writeable: true
18+
writable: true
1919
priv_mode: S
2020
definedBy: H
2121
length: 64

arch/csr/H/htimedeltah.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
Upper half of the `htimedelta` CSR.
99
1010
address: 0x615
11-
writeable: true
11+
writable: true
1212
priv_mode: S
1313
definedBy: H
1414
length: 32

arch/csr/H/htinst.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schema: "csr_schema.json#"
44
kind: csr
55
name: htinst
66
address: 0x64a
7-
writeable: true
7+
writable: true
88
long_name: Hypervisor Trap Instruction Register
99
description: |
1010
When a trap is taken into HS-mode, mtinst is written with a value that, if nonzero,

arch/csr/H/htval.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schema: "csr_schema.json#"
44
kind: csr
55
name: htval
66
address: 0x643
7-
writeable: true
7+
writable: true
88
long_name: Hypervisor Trap Value Register
99
description: |
1010
When a trap is taken into HS-mode, htval is written with additional exception-specific information, alongside stval, to assist software in handling the trap.

arch/csr/H/mtinst.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schema: "csr_schema.json#"
44
kind: csr
55
name: mtinst
66
address: 0x34a
7-
writeable: true
7+
writable: true
88
long_name: Machine Trap Instruction Register
99
description: |
1010
When a trap is taken into M-mode, mtinst is written with a value that, if nonzero,

arch/csr/H/mtval2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schema: "csr_schema.json#"
44
kind: csr
55
name: mtval2
66
address: 0x34b
7-
writeable: true
7+
writable: true
88
long_name: Machine Second Trap Value Register
99
description: |
1010
When a trap is taken into M-mode from a virtual mode, mtval2 is written with additional exception-specific information,

0 commit comments

Comments
 (0)