mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 05:08:22 +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)
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user