Luke Wren
|
194c9a9052
|
Implement WFI in rvcpp. The umode_wfi test still does not pass, because it relies on a bug in Hazard3 (mstatus.mie disables IRQs in U-mode as well as M-mode, but is supposed to be ignored in U-mode).
|
2024-04-27 20:48:30 +01:00 |
Luke Wren
|
ebe5a44454
|
rvcpp: fix up PMP address mask for all-ones pmpaddr, and raise instruction fault on instruction stradding two PMP regions, like the hardware
|
2024-04-27 19:34:17 +01:00 |
Luke Wren
|
fce1c087d4
|
Add basic PMP implementation to rvcpp. Seems like the RWX vs XWR order might be transposed in both the hardware and the tests
|
2024-04-27 13:38:10 +01:00 |
Luke Wren
|
117c52e7b1
|
rvcpp: fix handling of CSR instructions which both read and write
|
2024-04-27 13:30:34 +01:00 |
Luke Wren
|
a313493371
|
Add timer and soft IRQ support to rvcpp. Relevant sw_testcases now pass.
|
2024-03-22 00:52:01 +00:00 |
Luke Wren
|
b1be56fe94
|
Clean up rvcpp file structure
|
2024-03-21 23:27:01 +00:00 |