Skip to content

Commit

Permalink
HW error priority (#1223)
Browse files Browse the repository at this point in the history
ved-rivos authored Feb 11, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent 331b41c commit 55816d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/machine.adoc
Original file line number Diff line number Diff line change
@@ -1847,7 +1847,10 @@ this context, "data" encompasses all types of information used within a RISC-V
hart. Upon a hardware error exception, the `__x__epc` register is set to the
address of the instruction that attempted to access corrupted data, while the
`__x__tval` register is set either to 0 or to the virtual address of an
instruction fetch, load, or store that attempted to access corrupted data.
instruction fetch, load, or store that attempted to access corrupted data. The
priority of Hardware Error exception is implementation-defined, but any given
occurrence is generally expected to be recognized at the point in the overall
priority order at which the hardware error is discovered.
====

==== Machine Trap Value Register (`mtval`)

0 comments on commit 55816d5

Please sign in to comment.