Skip to content

Commit 95013b4

Browse files
authored
fix(data): All "upper half" CSRs are RV32-only (#791)
Most "upper half" CSRs are already defined "base: 32"... except "htimedeltah" and "minstreth". Fix them. BREAKING CHANGE: Some "upper half" CSRs no longer available to RV64. CSRs "htimedeltah" and "minstreth" were mistakenly available to RV64. They will no longer be available to RV64.
1 parent ae741a1 commit 95013b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/csr/H/htimedeltah.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ writable: true
1212
priv_mode: S
1313
definedBy: H
1414
length: 32
15+
base: 32
1516
fields:
1617
DELTA:
1718
location: 31-0

arch/csr/minstreth.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ description: |
1212
See `minstret` for details.
1313
priv_mode: M
1414
length: 32
15+
base: 32
1516
fields:
1617
COUNT:
1718
alias:

0 commit comments

Comments
 (0)