Skip to content

Commit 4a00837

Browse files
authored
Merge pull request #1070 from riscv/trigger_priority
Triggers with action != 0 or 1 fire independently.
2 parents c007218 + 5f8cf0b commit 4a00837

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Sdtrig.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ and that a trigger set by user code doesn't affect the external
141141
debugger. If this is not implemented, then the hart must enter Debug
142142
Mode and ignore the breakpoint exception. In the latter case, {mcontrol-hit} of the
143143
trigger whose action is 0 must still be set, giving a debugger an
144-
opportunity to handle this case. What happens with trace actions when
145-
triggers with different actions are also firing is left to the trace
146-
specification.
144+
opportunity to handle this case.
145+
Since triggers that have an action other than 0 or 1 don't affect the execution
146+
of the hart, they are not mentioned in the priority table. Such triggers fire
147+
independently from those that have an action of 0 or 1.
147148

148149
[[nativetrigger]]
149150
=== Native Triggers

0 commit comments

Comments
 (0)