Skip to content
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

pagetable enhancements #283

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Conversation

sktt
Copy link
Contributor

@sktt sktt commented Aug 22, 2023

I needed to debug an issue with user mode mappings, which resulted in the following patches.

It's useful to see what mappings usermode has. To do this, dump_pagetables takes a cr3_t type argument, which can be for example be user_cr3.

I think executable should show X instead of the vice-versa.. But that's just an opinion, so we can drop this.

sktt added 2 commits August 22, 2023 12:20
Taking cr3 as argument allows dumping page tables of user mode.

Signed-off-by: Johannes Wikner <[email protected]>
I think using X for executable makes more sense than using it for
Non-Executable.

Signed-off-by: Johannes Wikner <[email protected]>
@sktt sktt requested a review from a team as a code owner August 22, 2023 10:24
@wipawel wipawel merged commit dfefce1 into KernelTestFramework:mainline Aug 23, 2023
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