Skip to content

Commit 60c89ce

Browse files
committed
[Kernel] Set up page fault handler early
1 parent fb7fa38 commit 60c89ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/kernel/kernel.c

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ void _start(axle_boot_info_t* boot_info) {
7575
serial_init();
7676

7777
// Kernel features
78+
void _handle_page_fault();
79+
interrupt_setup_callback(INT_VECTOR_INT14, (int_callback_t)_handle_page_fault);
7880
pmm_init();
7981
vmm_init(boot_info->boot_pml4);
8082

0 commit comments

Comments
 (0)