-
Notifications
You must be signed in to change notification settings - Fork 137
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
add Mapper::clear to clear any page table entry regardless of present flag #484
Conversation
1579db1
to
430ad71
Compare
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.
Thank you for your contribution!
243a0ea
to
c54938e
Compare
Looks like cargo doc is still failing. I should have a fix for that shortly |
1cabaf6
to
8696c22
Compare
I merged my commits and also added a changelog entry. Let me know if there is anything else I should do. I noticed that |
We don't consider page faults to be UB so unmapping memory by itself isn't unsafe. |
I'm not sure i agree with that, but it doesn't matter for this pr anyways |
Feel free to open an issue, if you want to discuss this more! |
8696c22
to
2e8eec4
Compare
Add a way to clear page table entries that don't have the present flag set. fixes: rust-osdev#481
2e8eec4
to
49802d1
Compare
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, thank you again for your contribution!
Recently, the clippy CI job got broken again by new lints in nightly, so I'll temporarily disable the merge requirement for that job to merge this PR. |
Add a way to clear page table entries that don't have the present flag set.
See #481 for an explanation
fixes: #481