File tree Expand file tree Collapse file tree 3 files changed +93
-0
lines changed Expand file tree Collapse file tree 3 files changed +93
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) Salil Mittal
2+ # SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+ # yaml-language-server: $schema=../../../schemas/csr_schema.json
5+
6+ $schema : " csr_schema.json#"
7+ kind : csr
8+ name : dscratch0
9+ long_name : Debug scratch register
10+ address : 0x7B2
11+ priv_mode : D
12+ definedBy : Sdext
13+ length : MXLEN
14+ description : |
15+ Optional scratch register that can be used by implementations that need it. A debugger must
16+ not write to this register unless hartinfo explicitly mentions it (the Debug Module may use this
17+ register internally).
18+ writable : true
19+ fields :
20+ VALUE :
21+ location_rv32 : 31-0
22+ location_rv64 : 63-0
23+ description : |
24+ Scratch field to hold a value used by debug routines.
25+ type : RW-H
26+ reset_value : 0
Original file line number Diff line number Diff line change 1+ # Copyright (c) Salil Mittal
2+ # SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+ # yaml-language-server: $schema=../../../schemas/csr_schema.json
5+
6+ $schema : " csr_schema.json#"
7+ kind : csr
8+ name : dscratch1
9+ long_name : Debug scratch register
10+ address : 0x7B3
11+ priv_mode : D
12+ definedBy : Sdext
13+ length : MXLEN
14+ description : |
15+ Optional scratch register that can be used by implementations that need it. A debugger must
16+ not write to this register unless hartinfo explicitly mentions it (the Debug Module may use this
17+ register internally).
18+ writable : true
19+ fields :
20+ VALUE :
21+ location_rv32 : 31-0
22+ location_rv64 : 63-0
23+ description : |
24+ Scratch field to hold a value used by debug routines.
25+ type : RW-H
26+ reset_value : 0
Original file line number Diff line number Diff line change 1+ # Copyright (c) Salil Mittal
2+ # SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+ # yaml-language-server: $schema=../../../schemas/csr_schema.json
5+
6+ $schema : " csr_schema.json#"
7+ kind : csr
8+ name : sie
9+ long_name : Supervisor interrupt-enable register
10+ address : 0x104
11+ priv_mode : S
12+ definedBy : S
13+ length : XLEN
14+ description : Supervisor interrupt-enable register.
15+ writable : true
16+ fields :
17+ SSIE :
18+ location : 1
19+ description : |
20+ Supervisor Software Interrupt Enable
21+ type : RW
22+ reset_value : UNDEFINED_LEGAL
23+ STIE :
24+ location : 5
25+ description : |
26+ Supervisor Timer Interrupt Enable
27+ type : RO-H
28+ reset_value : UNDEFINED_LEGAL
29+ SEIE :
30+ location : 9
31+ description : |
32+ Supervisor External Interrupt Enable
33+ type : RO-H
34+ reset_value : UNDEFINED_LEGAL
35+ LCOFIE :
36+ location : 13
37+ description : |
38+ Local Counter Overflow Interrupt Enable
39+ type : RW-H
40+ reset_value : UNDEFINED_LEGAL
41+ definedBy : Sscofpmf
You can’t perform that action at this time.
0 commit comments