aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/translate.c
AgeCommit message (Collapse)AuthorFilesLines
2021-11-29Fix TranslateTests. (#365)Tim Newsome1-3/+5
They used to set U, A, D, in intermediate page table entries which is no longer allowed.
2020-03-26Improve address translation tests (#261)Tim Newsome1-4/+16
* Improve address translation tests. Check that the mode we're testing is supported by hardware before running the test. Test with high address bits set, which catches a bug in OpenOCD. * Turn off PMP for address translation test. Otherwise it doesn't pass on HiFive Unleashed. * Run TranslateTest on random hart. Once https://github.com/riscv/riscv-openocd/pull/459 merges that will work.
2020-01-09Smoke test virtual address translation support. (#233)Tim Newsome1-0/+176
* WIP * Smoke test virtual address support. Tests sv32, sv39, and sv48. Only explicitly tests 4K pages, but uses as large as possible pages to 1:1 map the rest of RAM so those sizes do get minimal coverage as well.