diff options
author | Tim Newsome <tim@sifive.com> | 2020-03-26 09:09:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 09:09:34 -0700 |
commit | 7351b31ffa1c72e16d2d8da3021c9ff5edbbf821 (patch) | |
tree | ad7c9434c22126edadc727449b1cf9d3e6ebb5f0 /env/v/vm.c | |
parent | 094985d1cfafe00548751285271bf8aab40f8d6d (diff) | |
download | riscv-tests-7351b31ffa1c72e16d2d8da3021c9ff5edbbf821.zip riscv-tests-7351b31ffa1c72e16d2d8da3021c9ff5edbbf821.tar.gz riscv-tests-7351b31ffa1c72e16d2d8da3021c9ff5edbbf821.tar.bz2 |
Improve address translation tests (#261)
* 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.
Diffstat (limited to 'env/v/vm.c')
m--------- | env | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/env b/env -Subproject 500b89fb41ae857f5a1a0d6df382812cfce0b82 +Subproject 68cad7baf3ed0a4553fffd14726d24519ee1296 |