1
Fork 0
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:
Andreas Kling 2018-11-05 10:29:19 +01:00
parent 72cdc62155
commit e85c22fe58
4 changed files with 19 additions and 18 deletions

View file

@ -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");