mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
mmu: fix call to vmm_pagefault
This commit is contained in:
@@ -203,7 +203,7 @@ static void pfisr(isr_t *self, context_t *ctx) {
|
|||||||
if (ctx->error & ERROR_FETCH)
|
if (ctx->error & ERROR_FETCH)
|
||||||
vmmerror |= VMM_ACTION_EXEC;
|
vmmerror |= VMM_ACTION_EXEC;
|
||||||
|
|
||||||
if (vmm_pagefault((void *)ctx->cr2, ctx->cs == 8, vmmerror) == false)
|
if (vmm_pagefault((void *)ctx->cr2, ctx->cs != 8, vmmerror) == false)
|
||||||
_panic("Page fault", ctx);
|
_panic("Page fault", ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user