Closed jrrk closed 6 years ago
vm.c isn't a standalone test. It's one piece of the virtual-memory test environment, which is used in building some of the tests in riscv-tests. Tests like rv64ui-v-addi are built using the virtual-memory test environment.
Mea culpa. I should have realized that such an important part of the functionality must be tested thoroughly.
This test does not appear to compile, and no indication is given what flags should be used. There appears to be a couple of lines missing in the header of the code, compared to similar examples. This appears to do something meaningful in the simulator and shows a degree of function under gdb, but the latter seems to get confused when virtual memory is being debugged. I would be grateful for your input as the lack of a working VM test is hampering my efforts to update my supervisor mode software to the latest Rocket release.