Skip to content

Commit 79e257b

Browse files
authored
Merge pull request #897 from riscv/priority
AR: Update priority table from latest privspec
2 parents 9f44898 + aaab8fb commit 79e257b

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Sdtrig.tex

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -114,36 +114,36 @@ \section{Priority}
114114

115115
\begin{table}[H]
116116
\centering
117-
\begin{tabular}{|l|r|l|l|}
117+
\begin{tabulary}{\textwidth}{|l|p{.7in}|p{2.3in}|p{2.5in}|}
118118
\hline
119-
Priority & Exception & Description & Trigger \\
120-
& Code & & \\
119+
Priority & Exception Code & Description & Trigger \\
121120
\hline
122121
{\em Highest} & 3 & & etrigger \\
123122
& 3 & & icount \\
124123
& 3 & & itrigger \\
125-
& 3 & & mcontrol/mcontrol6 after \\
126-
& & & \hspace{2em}(on previous instruction) \\
124+
& 3 & & mcontrol/mcontrol6 after (on previous instruction) \\
127125
\hline
128126
& 3 & Instruction address breakpoint & mcontrol/mcontrol6 execute address before \\ \hline
129-
& 12 & Instruction page fault & \\ \hline
130-
& 1 & Instruction access fault & \\ \hline
127+
& 12, 20, 1 & During instruction address translation:
128+
First encountered page fault, guest-page fault, or access fault & \\ \hline
129+
& 1 & With physical address for instruction:
130+
Instruction access fault & \\ \hline
131131
& 3 & & mcontrol/mcontrol6 execute data before \\ \hline
132132
& 2 & Illegal instruction & \\
133+
& 22 & Virtual instruction & \\
133134
& 0 & Instruction address misaligned & \\
134-
& 8, 9, 11 & Environment call & \\
135+
& 8, 9, 10, 11 & Environment call & \\
135136
& 3 & Environment break & \\
136-
& 3 & Load/Store/AMO address breakpoint & mcontrol/mcontrol6 load/store address before \\
137-
& 3 & & mcontrol/mcontrol6 store data before \\ \hline
138-
& 6 & Store/AMO address misaligned & \\
139-
& 4 & Load address misaligned & \\ \hline
140-
& 15 & Store/AMO page fault & \\
141-
& 13 & Load page fault & \\ \hline
142-
& 7 & Store/AMO access fault & \\
143-
& 5 & Load access fault & \\
144-
{\em Lowest} & 3 & & mcontrol/mcontrol6 load data before \\
145-
\hline
146-
\end{tabular}
137+
& 3 & Load/Store/AMO address breakpoint & mcontrol/mcontrol6 load/store address/data before \\ \hline
138+
& 4, 6 & Optionally: Load/Store/AMO address misaligned & \\ \hline
139+
& 13, 15, 21, 23, 5, 7 & During address translation for an explicit memory access:
140+
First encountered page fault, guest-page fault, or access fault & \\ \hline
141+
& 5, 7 & With physical address for an explicit memory access:
142+
Load/store/AMO access fault & \\ \hline
143+
& 4, 6 & If not higher priority:
144+
Load/store/AMO address misaligned & \\ \hline
145+
{\em Lowest} & 3 & & mcontrol/mcontrol6 load data before \\ \hline
146+
\end{tabulary}
147147
\caption{Synchronous exception priority in decreasing priority order.}
148148
\label{tab:priority}
149149
\end{table}

0 commit comments

Comments
 (0)