-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to CHERIoT-platform submodule and catch up with upstream changes #35
Conversation
See sail-riscv's 182dc52ef468884f31c0e002118a8c75df0a69fb
See sail-riscv's 3e6a55f69ee74ba5dcbd63506f992151870c24a6
See sail-riscv's d5e89a71e3a84495c1b88a7749c25fd6b9da684b
See sail-riscv's 563446c477f5e905df905e0d30371a2c4d51d7a5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, one place where even more things can be deleted (yay for deleting things!).
This looks good but I was expecting to see some changes to adjust to CHERIoT-Platform/sail-riscv@9547a30 . Upstream made these changes: CTSRD-CHERI/sail-cheri-riscv@dab72aa . I must be missing something. |
Indeed, I've tested and the simulator builds but doesn't use CHERI instructions correctly. Will investigate. |
Replacing
|
This is a strict subset of the sail-riscv model's riscv_step_rvfi.sail to omit fregs absent in CHERIoT.
Remove riscv_patches now pushed to that repo
Now that we're using a patched submodule rather than applying patches here, we don't need to fib to git about identity. Thanks to David Chisnall for spotting the oversight.
…hook. riscv/sail-riscv#205 changed the way decode hooks used to override existing RISC-V instructions work. This commit imports changes from upstream to adapt to the change. Relevant commit: CTSRD-CHERI/sail-cheri-riscv@d760e53
Thanks @rmn30; I'd completely missed that. With your change added, the CHERIoT RTOS test suite passes for both release and test builds. |
Follow along with CHERIoT-Platform/cheriot-sail#35
When reviewing, you'll probably want to also look at the changes in the submodule relative to upstream, CHERIoT-Platform/sail-riscv@main...CHERIoT-Platform:sail-riscv:cheriot-submodule, and/or the upstream changes included herein, CHERIoT-Platform/sail-riscv@6d0cc0f...CHERIoT-Platform:sail-riscv:main .
At least locally, with
sail
mainline, this commit builds both thecsim
andrvfi
targets.