-
-
Notifications
You must be signed in to change notification settings - Fork 771
capsules: remove doc leftovers on SyscallDriver
impls
#3532
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
Conversation
We did intentionally keep them. Even though the capsules are no longer implementing the logic for storing the process buffers, the contract between userspace and the capsule for how the buffers are used is still implemented in the capsule. Now, the rewrite in those PRs was fairly substantial, and we didn't put really any effort in to what to do with those comments, other than not delete them. If there is some way we would keep the documentation but reduce the confusion that would be ideal. |
👍 I'll try to come up with something. |
Thanks @elenaf9! The current documentation is indeed confusing now. Perhaps there is a way to refer to some central documentation of the semantics of each high-level system call ( |
I think we should just move these to the top of the files. |
3427b2c
to
3c9b3d3
Compare
Ok this should be ready to go. |
3c9b3d3
to
19a987f
Compare
Pull Request Overview
In #2639
subscribe
was remove from theSyscallDriver
trait, and in #2906 alsoallow_readwrite
andallow_readonly
were removed.Both PRs however left some of the code docs related to the removed functions. I am not sure if that was intentional, but it confused me quite a bit when I was looking into the code.
This PR proposes to remove these old docs. But I am quite new to tock, so maybe I am missing something and there was a reason for keeping them?
Testing Strategy
Not relevant._
TODO or Help Wanted
Open Questions:
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.Fails due to an unrelated error in `kernel/src/process_standard.rs:535:13`