-
Notifications
You must be signed in to change notification settings - Fork 0
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
Passthrough device #174
base: main
Are you sure you want to change the base?
Passthrough device #174
Conversation
562ee85
to
0dcea1e
Compare
@CharlyCst Feel free to review after merging the test driver pr. Also I would suggest as a next step (or second commit in this pr) to refactor and deduplicate code from the crate |
d3cddb1
to
90854f1
Compare
0141afa
to
f4eab53
Compare
I'll take look when I get some time :) And yes I agree we do have a bunch of code duplicated, so it is indeed a good time to think about refactoring :) |
The number of PMP (Physical Memory Protection) registers is limited on any RISC-V platform. Currently, each memory-mapped virtual device requires a separate PMP entry. This commit introduces a solution that allows grouping all virtual devices under a single PMP entry by implementing a pass-through module in front of them.
f4eab53
to
8adc7ee
Compare
I rebased the commit. Feel free to review |
Thanks! I will take a look after OSFC |
@CharlyCst Do you want to review it soon? We should merge it once :-) |
I need to spend time thinking about it, I don't have the bandwidth right now so except if it's blocking I'll delay it a bit more. My feeling is that this kind of feature might need a bit of iteration before getting it right. |
No emergency on that front :) |
No description provided.