Closed deepak0414 closed 1 year ago
Certain tests (particularly negative) may require a fault to occur.
However in order to pass the tests, page fault and traps must return back to the tests. This patch add support for page fault and trap filtering in env.
Signed-off-by: Deepak Gupta debug@rivosinc.com
LGTM.
Once tests that use this API are contributed, we might review how well the API works out in practice. Seems OK, though.
Certain tests (particularly negative) may require a fault to occur.
However in order to pass the tests, page fault and traps must return back to the tests. This patch add support for page fault and trap filtering in env.
Signed-off-by: Deepak Gupta debug@rivosinc.com