// MIT License, Copyright (c) 2020 Marvin Borner #include #include #include #include #include #include #include #include #include void kernel_main(struct vid_info *vid_info) { HEAP = 0x00200000; HEAP_START = HEAP; // For malloc function boot_passed = vid_info; // Serial connection serial_install(); serial_print("\nConnected.\n"); // Install drivers interrupts_install(); timer_install(); keyboard_install(); // Enable drivers sti(); ls_root(); syscall_init(); proc_init(); idle(); }