-
Notifications
You must be signed in to change notification settings - Fork 140
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
Allow reading active flags for a PageTable Entry #149
Comments
Just to ensure that I understand correctly: You propose a fn flags_for_addr(&self, addr: VirtAddr) -> Option<PageTableFlags> {…} ? |
Essentially, yes. |
Thanks for clarifying! I agree that such a function would be useful. Perhaps it's also a good idea to provide a general |
Triage: Should this issue be closed on account of #207 being merged? |
Yes, I think we can close this. Thanks! |
It would be convenient if there is a method to translate a virtual address to the corresping PageTableFlags, this way the interrupt handler can check which flags are set on the entry and handle faults accordingly.
At the moment, the flags are not easily accessible from a pagetable, which makes it hard to debug issues where the active pagetable flags are unclear.
The text was updated successfully, but these errors were encountered: