riscv / riscv-test-env

https://jira.riscv.org/browse/RVG-141
Other
42 stars 107 forks source link

Env filter trap fault #39

Open deepak0414 opened 1 year ago

deepak0414 commented 1 year ago

This PR adds following

[1] - https://github.com/riscv/riscv-cfi

aswaterman commented 1 year ago

I would like to wait to merge this PR until the CFI extension is closer to being frozen. It seems likely to change in the interim.

Also, please remove all of the debugging code that was added.

deepak0414 commented 1 year ago

@aswaterman would you be open to adding trap filtering and page fault filtering. I can make a PR just for that.

That change is anyways seems like can be used by tests for other arch extensions.

aswaterman commented 1 year ago

Seems reasonable; send me a new PR and let’s talk about it there.