Skip to content

Commit 884032d

Browse files
authored
Merge pull request #44 from tyshyu/main
Add new register HWCFG_USER and update version number
2 parents 70b7771 + 685d342 commit 884032d

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

chapter5.adoc

+13-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ If an optional register is not implemented, the behavior is implementation-depen
77
|===
88
|OFFSET |Register |Description
99

10-
.20+|0x0000 2+|{set:cellbgcolor:#D3D3D3} INFO
10+
.21+|0x0000 2+|{set:cellbgcolor:#D3D3D3} INFO
1111
|{set:cellbgcolor:#FFFFFF} VERSION |Indicates the specification and the IP vendor.
1212
|{set:cellbgcolor:#FFFFFF} IMPLEMENTATION | Indicates the implementation version.
1313
|{set:cellbgcolor:#FFFFFF} HWCFG0~2 |Indicate the configurations of current IOPMP instance.
1414
|{set:cellbgcolor:#FFFFFF} ENTRYOFFSET |Indicates the internal address offsets of each table.
15+
|{set:cellbgcolor:#FFFFFF} HWCFG_USER | (Optional) User-defined configurations of current IOPMP instance.
1516

1617
2+|{set:cellbgcolor:#D3D3D3} Programming Protection
1718
|{set:cellbgcolor:#FFFFFF} MDSTALL/MDSTALLH .2+.^| (Optional) Stall and resume the transaction checks when programming the IOPMP.
@@ -152,6 +153,17 @@ h|Field |Bits |R/W |Default |Description
152153
|{set:cellbgcolor:#FFFFFF}offset|31:0 |R |IMP |Indicate the offset address of the IOPMP array from the base of an IOPMP instance, a.k.a. the address of *VERSION*. Note: the offset is a signed number. That is, the IOPMP array can be placed in front of *VERSION*.
153154
|===
154155

156+
*HWCFG_USER* is an optional register to provide users to define their own configurations.
157+
158+
[cols="<2,<1,<1,<1,<6"]
159+
|===
160+
5+h|HWCFG_USER{set:cellbgcolor:#D3D3D3}
161+
5+h|0x002C
162+
h|Field |Bits |R/W |Default |Description
163+
|{set:cellbgcolor:#FFFFFF}user |31:0 |IMP |IMP | (Optional) user-defined registers
164+
|===
165+
166+
155167
=== *Programming Protection Registers*
156168

157169
*MDSTALL(H)* and *RRIDSCP* registers are all optional and used to support atomicity issue while programming the IOPMP, as the IOPMP rule may not be updated in a single transaction.

iopmp.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[[header]]
22
:description: RISC-V IOPMP Architecture Specification
33
:company: RISC-V.org
4-
:revdate: Jan, 2025
5-
:revnumber: 0.9.2-RC3
4+
:revdate: Feb, 2025
5+
:revnumber: 0.7
66
:revremark: This document is in development. Assume everything can change. See http://riscv.org/spec-state for details.
77
:url-riscv: http://riscv.org
88
:doctype: book

0 commit comments

Comments
 (0)