mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Tidy up the page fault code a bit in preparation.
This commit is contained in:
parent
72cdc62155
commit
e85c22fe58
4 changed files with 19 additions and 18 deletions
|
@ -238,7 +238,7 @@ void exception_14_handler()
|
|||
if (current->isRing0())
|
||||
HANG;
|
||||
|
||||
auto response = MM.handlePageFault(PageFault(exception_code, LinearAddress(faultAddress)));
|
||||
auto response = MM.handle_page_fault(PageFault(exception_code, LinearAddress(faultAddress)));
|
||||
|
||||
if (response == PageFaultResponse::ShouldCrash) {
|
||||
kprintf("Crashing after unresolved page fault\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue