Skip to content

Commit

Permalink
Reserve interrupt 13 for Sscofpmf
Browse files Browse the repository at this point in the history
Resolves #1127

Note, I only reserved the pattern in the various cause registers; I did not
update the various ip/ie registers.  That work is left for whoever integrates
Sscofpmf into this document.  Reserving the cause patterns has the same
architectural effect in the near term.
  • Loading branch information
aswaterman committed Oct 31, 2023
1 parent ea57880 commit 12dc920
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/hypervisor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1755,11 +1755,14 @@ Virtual supervisor external interrupt +
Machine external interrupt
|1 +
1 +
1 +
1
|12 +
13-15 +
13 +
14-15 +
≥16
|Supervisor guest external interrupt +
_Reserved for counter-overflow interrupt_ +
_Reserved_ +
_Designated for platform use_
|0 +
Expand Down
8 changes: 7 additions & 1 deletion src/machine.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1677,10 +1677,16 @@ Supervisor external interrupt +
_Reserved_ +
Machine external interrupt
|1 +
1 +
1 +
1
|12-15 +
|12 +
13 +
14-15 +
≥16
|_Reserved_ +
_Reserved for counter-overflow interrupt_ +
_Reserved_ +
_Designated for platform use_
|0 +
0 +
Expand Down
1 change: 1 addition & 0 deletions src/priv-preface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ version 1.12:
* Defined the `misa`.V field to reflect that the V extension has been
implemented.
* Defined the RV32-only `medelegh` and `hedelegh` CSRs.
* Reserved interrupt 13 for forthcoming counter-overflow interrupt extension.
* Specified synchronization requirements when changing the PBMTE fields
in `menvcfg` and `henvcfg`.
* Clarified that "platform- or custom-use" interrupts are actually
Expand Down
8 changes: 7 additions & 1 deletion src/supervisor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -425,14 +425,18 @@ include::images/bytefield/scausereg.edn[]
1 +
1 +
1 +
1 +
1 +
1
|0 +
1 +
2-4 +
5 +
6-8 +
9 +
10-15 +
10-12 +
13 +
14-15 +
≥16
|_Reserved_ +
Supervisor software interrupt +
Expand All @@ -441,6 +445,8 @@ Supervisor timer interrupt +
_Reserved_ +
Supervisor external interrupt +
_Reserved_ +
_Reserved for counter-overflow interrupt_ +
_Reserved_ +
_Designated for platform use_

|0 +
Expand Down

0 comments on commit 12dc920

Please sign in to comment.