aboutsummaryrefslogtreecommitdiff
path: root/src/supervisor.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/supervisor.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/supervisor.tex')
-rw-r--r--src/supervisor.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/supervisor.tex b/src/supervisor.tex
index 5bbcfe5..ab406b1 100644
--- a/src/supervisor.tex
+++ b/src/supervisor.tex
@@ -626,13 +626,14 @@ so is only guaranteed to hold supported exception codes.
\hline
1 & 0 & User software interrupt \\
1 & 1 & Supervisor software interrupt \\
- 1 & 2--3 & {\em Reserved} \\
+ 1 & 2--3 & {\em Reserved for future standard use} \\ \hline
1 & 4 & User timer interrupt \\
1 & 5 & Supervisor timer interrupt \\
- 1 & 6--7 & {\em Reserved} \\
+ 1 & 6--7 & {\em Reserved for future standard use} \\ \hline
1 & 8 & User external interrupt \\
1 & 9 & Supervisor external interrupt \\
- 1 & $\ge$10 & {\em Reserved} \\ \hline
+ 1 & 10--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 \\
@@ -643,12 +644,16 @@ so is only guaranteed to hold supported exception codes.
0 & 7 & Store/AMO access fault \\
0 & 8 & Environment call from U-mode \\
0 & 9 & Environment call from S-mode \\
- 0 & 10--11 & {\em Reserved} \\
+ 0 & 10--11 & {\em Reserved for future standard use} \\
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}
\end{center}