x86_64: enable interrupts during pmap_handle_fault

interrupts will need to be enable to allow for requesting missing pages from userspace
services.
This commit is contained in:
2026-03-14 22:23:38 +00:00
parent e73a5c41ce
commit 115a2e7415

View File

@@ -97,7 +97,9 @@ static void pf_handler(struct ml_cpu_context *regs)
virt_addr_t fault_ptr = pf_faultptr();
ml_int_enable();
kern_status_t status = pmap_handle_fault(fault_ptr, fault_flags);
ml_int_disable();
if (status == KERN_OK) {
return;