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

Improve diagnostics printed by page fault handler #335

Open
SamTebbs33 opened this issue Jul 9, 2023 · 0 comments
Open

Improve diagnostics printed by page fault handler #335

SamTebbs33 opened this issue Jul 9, 2023 · 0 comments
Labels
arch: x86 Affects the x86 port enhancement New feature or request good first issue Good for newcomers

Comments

@SamTebbs33
Copy link
Collaborator

Printing some useful diagnostics when a page fault happens would be very useful for debugging them.

Print what caused the error (supervisory process, user process, non-present page, permission violation etc.), the address of the instruction causing it and the faulty address.

https://wiki.osdev.org/Paging#Page_Faults

@SamTebbs33 SamTebbs33 added enhancement New feature or request good first issue Good for newcomers arch: x86 Affects the x86 port labels Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch: x86 Affects the x86 port enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant