Age | Commit message (Collapse) | Author | Files | Lines |
|
Now that logic only affects ebreak instructions, and does not affect
triggers that also cause a trap to be taken.
Fixes #725. Although like Paul, I don't have a test for this case.
Introduce trap_debug_mode so so ebreak instructions can force entry into
debug mode.
|
|
|
|
So I can fix breakpoints next to properly report gva.
|
|
Co-authored-by: Neel Gala <neelgala@incoresemi.com>
|
|
With hypervisor extension, we have more CSRs providing trap
related information. We extend existing trap classes to pass
additional trap information required by hypervisor extension.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
|
|
Resolves #426
The relevant passage in the spec does not mention software breakpoints
as one of the cases that cause mtval to be set to a nonzero value:
https://github.com/riscv/riscv-isa-manual/blob/274893e2f0365f904829bbb60fd05cc01d2bfb11/src/machine.tex#L2202
|
|
|
|
|