aboutsummaryrefslogtreecommitdiff
path: root/src/machine.tex
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-03-07 22:18:45 -0800
committerAndrew Waterman <andrew@sifive.com>2019-03-07 22:18:45 -0800
commit8dc9b9cc34bdd200422043014df648a268f11662 (patch)
tree5acebf177e0e5cc31a0fa3bf78fb3cc9f4399232 /src/machine.tex
parent6542a199007260e921932e1e04d61176788ec83a (diff)
downloadriscv-isa-manual-8dc9b9cc34bdd200422043014df648a268f11662.zip
riscv-isa-manual-8dc9b9cc34bdd200422043014df648a268f11662.tar.gz
riscv-isa-manual-8dc9b9cc34bdd200422043014df648a268f11662.tar.bz2
Update mcause/scause tables to allocate some custom exception causes
Diffstat (limited to 'src/machine.tex')
-rw-r--r--src/machine.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/machine.tex b/src/machine.tex
index 390a5a7..e8b8c70 100644
--- a/src/machine.tex
+++ b/src/machine.tex
@@ -1896,17 +1896,18 @@ codes.
\hline
1 & 0 & User software interrupt \\
1 & 1 & Supervisor software interrupt \\
- 1 & 2 & {\em Reserved} \\
+ 1 & 2 & {\em Reserved for future standard use} \\
1 & 3 & Machine software interrupt \\ \hline
1 & 4 & User timer interrupt \\
1 & 5 & Supervisor timer interrupt \\
- 1 & 6 & {\em Reserved} \\
+ 1 & 6 & {\em Reserved for future standard use} \\
1 & 7 & Machine timer interrupt \\ \hline
1 & 8 & User external interrupt \\
1 & 9 & Supervisor external interrupt \\
- 1 & 10 & {\em Reserved} \\
+ 1 & 10 & {\em Reserved for future standard use} \\
1 & 11 & Machine external interrupt \\ \hline
- 1 & $\ge$12 & {\em Reserved} \\ \hline
+ 1 & 12--15 & {\em Reserved for future standard use} \\
+ 1 & $\ge$16 & {\em Reserved for platform use} \\ \hline
0 & 0 & Instruction address misaligned \\
0 & 1 & Instruction access fault \\
0 & 2 & Illegal instruction \\
@@ -1921,9 +1922,13 @@ codes.
0 & 11 & Environment call from M-mode \\
0 & 12 & Instruction page fault \\
0 & 13 & Load page fault \\
- 0 & 14 & {\em Reserved} \\
+ 0 & 14 & {\em Reserved for future standard use} \\
0 & 15 & Store/AMO page fault \\
- 0 & $\ge$16 & {\em Reserved} \\
+ 0 & 16--23 & {\em Reserved for future standard use} \\
+ 0 & 24--31 & {\em Reserved for custom use} \\
+ 0 & 32--47 & {\em Reserved for future standard use} \\
+ 0 & 48--63 & {\em Reserved for custom use} \\
+ 0 & $\ge$64 & {\em Reserved for future standard use} \\
\hline
\end{tabular}