Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define asynchronous interrupt priorities #802

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Sdtrig.tex
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ \section{Priority}
& 3 & & icount \\
& 3 & & itrigger \\
& 3 & & mcontrol/mcontrol6 after \\
& & & \hspace{2em}(on previous instruction) \\
\hline
& & & \hspace{2em}(on previous instruction) \\ \hline
& & Asynchronous interrupt enabled by & \\
& & \hspace{2em}xRET or explicit CSR write & \\ \hline
& 3 & Instruction address breakpoint & mcontrol/mcontrol6 execute address before \\ \hline
& 12 & Instruction page fault & \\ \hline
& 1 & Instruction access fault & \\ \hline
Expand Down Expand Up @@ -156,6 +157,12 @@ \section{Priority}
trace actions when triggers with different actions are also firing is left to
the trace specification.

\begin{commentary}
Note that asynchronous interrupts are included in the priority table because, when
enabled by xRET or explicit CSR write instructions, these interrupts must be treated
as high priority events on the next instruction.
\end{commentary}

\section{Native Triggers}
\label{sec:nativetrigger}

Expand Down