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
commit e85c22fe58
Notes: sideshowbarker 2024-07-19 18:33:41 +09:00
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");