mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 22:48:21 +00:00
x86_64 mmu: enable interrupts on page fault
This commit is contained in:
@@ -211,6 +211,7 @@ static volatile struct limine_kernel_address_request kaddrreq = {
|
|||||||
#define ERROR_FETCH 16
|
#define ERROR_FETCH 16
|
||||||
|
|
||||||
static void pfisr(isr_t *self, context_t *ctx) {
|
static void pfisr(isr_t *self, context_t *ctx) {
|
||||||
|
interrupt_set(true);
|
||||||
int vmmerror = 0;
|
int vmmerror = 0;
|
||||||
if (ctx->error & ERROR_PRESENT)
|
if (ctx->error & ERROR_PRESENT)
|
||||||
vmmerror |= VMM_ACTION_READ;
|
vmmerror |= VMM_ACTION_READ;
|
||||||
|
|||||||
Reference in New Issue
Block a user