Luke Wren
|
e34aa5bb45
|
rvcpp: implement MPRV, and fix up CSR write tracing
|
2024-06-02 12:46:41 +01:00 |
Luke Wren
|
6db1edc675
|
Add dummy h3.msleep CSR to rvcpp
|
2024-05-11 11:02:01 +01:00 |
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
|
78260e86e7
|
rvcpp: parameterise number of PMP regions, and set to match tb default. Fix region locking. Mask pmpaddr to 30 bits, to match Hazard3 32-bit physical address space.
|
2024-04-27 19:57:18 +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
|
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 |