Skip to content

Don't panic when displaying a page tables with pages directly before and after the address gap - #617

Open
mkroening wants to merge 5 commits into
rust-osdev:masterfrom
mkroening:checked-display
Open

mkroening wants to merge 5 commits into
rust-osdev:masterfrom
mkroening:checked-display

Conversation

@mkroening

Copy link
Copy Markdown
Member

Depends on #616.

Fixes #611.

Note that this does not add a checked version for subtracting two addresses yet.
Note that this changes the panic behavior, since `rhs * S::SIZE` did not panic before without overflow checks.
Note that this does not add a checked version for subtracting two pages or frames yet.

This branch has not been deployed

No deployments
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.

MappedPageTable::display panics at the address space hole

1 participant