summaryrefslogtreecommitdiff
path: root/Kernel/VM/Region.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-07 10:27:02 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-07 10:27:02 +0100
commit7a6c4a72d5a7da31dbbd5178a469ae37ef68eaea (patch)
tree3dc7962c6f81dac63e0315883a2fff03dc78cd2b /Kernel/VM/Region.cpp
parent6a3b12664a7ce85bef93497df70c0b96cfc509d0 (diff)
downloadserenity-7a6c4a72d5a7da31dbbd5178a469ae37ef68eaea.zip
LibWeb: Move everything into the Web namespace
Diffstat (limited to 'Kernel/VM/Region.cpp')
-rw-r--r--Kernel/VM/Region.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp
index be4597803d..de81f750bb 100644
--- a/Kernel/VM/Region.cpp
+++ b/Kernel/VM/Region.cpp
@@ -309,7 +309,8 @@ PageFaultResponse Region::handle_fault(const PageFault& fault)
}
return handle_zero_fault(page_index_in_region);
#else
- ASSERT_NOT_REACHED();
+ dbg() << "BUG! Unexpected NP fault at " << fault.vaddr();
+ return PageFaultResponse::ShouldCrash;
#endif
}
ASSERT(fault.type() == PageFault::Type::ProtectionViolation);