support irq

This commit is contained in:
TXuian
2024-04-25 09:32:10 +08:00
parent 213a92330e
commit 52b549c14c
9 changed files with 170 additions and 12 deletions

View File

@@ -104,7 +104,7 @@ static uintptr_t map_task_share_page(struct TaskMicroDescriptor* task, const uin
ERROR("Alloc task buddy failed.\n");
return (uintptr_t)NULL;
}
vaddr = (uintptr_t)KBuddyAlloc(task->massive_ipc_allocator, nr_pages * 2);
return map_task_share_page(task, paddr, nr_pages);
}
}