File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed
Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,27 @@ name: vsscratch
99address : 0x240
1010virtual_address : 0x140
1111long_name : Virtual Supervisor Scratch Register
12- description : |
13- The vsscratch register is a VSXLEN-bit read/write register that is VS-mode’s version of
14- supervisor register sscratch. When V=1, vsscratch substitutes for the usual sscratch,
15- so instructions that normally read or modify sscratch actually access vsscratch instead.
16- The contents of vsscratch never directly affect the behavior of the machine.
12+ description :
13+ - id : csr-vsscratch-purpose
14+ normative : true
15+ text : |
16+ The vsscratch register is a VSXLEN-bit read/write register that is VS-mode’s version of
17+ supervisor register sscratch. When V=1, vsscratch substitutes for the usual sscratch,
18+ so instructions that normally read or modify sscratch actually access vsscratch instead.
19+
20+ - id : csr-vsscratch-effect
21+ normative : true
22+ text : |
23+ The contents of vsscratch never directly affect the behavior of the machine.
1724priv_mode : VS
1825length : VSXLEN
1926definedBy : H
20- fields : {}
27+ fields :
28+ SCRATCH :
29+ type : RW
30+ reset_value : 0
31+ location_rv32 : 31-0
32+ location_rv64 : 63-0
33+ description : |
34+ Virtual supervisor scratch register.
35+
You can’t perform that action at this time.
0 commit comments