Skip to content

Add checked_add to VirtAddr and update frame_to_pointer #291

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

Closed
wants to merge 1 commit into from
Closed

Add checked_add to VirtAddr and update frame_to_pointer #291

wants to merge 1 commit into from

Conversation

goldencm
Copy link

This pr adds support for checked_adds between virtual addresses and uses it in the frame_to_pointer function for #290 .

@goldencm goldencm marked this pull request as ready for review August 11, 2021 18:13
frame_to_pointer uses VirtAddr checked_add

added panic doc

fixed typo

fixed formatting

fixed formatting again
@josephlr
Copy link
Contributor

@goldencm could you rebase this on top of #298, as those are the checked traits we would ideally like to use (rather than a one-off method).

@goldencm goldencm closed this Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants