diff --git a/kernel/src/kmain.c b/kernel/src/kmain.c index 5a96ff1..9c75811 100644 --- a/kernel/src/kmain.c +++ b/kernel/src/kmain.c @@ -32,18 +32,36 @@ void limine_terminal_print(boot_info_T* boot_info, string_t string) { } void kernel_init(boot_info_T* boot_info) { + limine_terminal_print(boot_info, " Initializing page frame manager..."); pframe_manager_init(boot_info); + limine_terminal_print(boot_info, " ok\n"); CORE_INTERRUPTS_DISABLE + limine_terminal_print(boot_info, " Initializing idt..."); idt_init(); + limine_terminal_print(boot_info, " ok\n"); + limine_terminal_print(boot_info, " Initializing pic..."); pic_init(); + limine_terminal_print(boot_info, " ok\n"); + limine_terminal_print(boot_info, " Initializing pit..."); pit_set_divisor(PIT_DIVISOR); + limine_terminal_print(boot_info, " ok\n"); CORE_INTERRUPTS_ENABLE + limine_terminal_print(boot_info, " Initializing paging..."); paging_init(); + limine_terminal_print(boot_info, " ok\n"); + + limine_terminal_print(boot_info, " Initializing heap..."); memory_allocator_init((void*)0x100000000000); + limine_terminal_print(boot_info, " ok\n"); + + limine_terminal_print(boot_info, " Initializing graphics renderer..."); graphics_renderer_init(boot_info); + limine_terminal_print(boot_info, " ok\n"); + limine_terminal_print(boot_info, " Initializing scheduler..."); scheduler_init(); + limine_terminal_print(boot_info, " ok\n"); } void kmain(boot_info_T boot_info) {