// MIT License, Copyright (c) 2021 Marvin Borner #include #include #include #include #include #include #include #include #include #include /** * Entry */ u8 boot_disk = 0; int start(u8 disk); int start(u8 disk) { boot_disk = disk; vga_clear(); serial_install(); pic_install(); idt_install(); // acpi_probe(); // TODO: Fix slow ACPI probing pci_probe(); dev_print(); cfg_read(); sel_draw(); // Sleep and wait for interrupts while (1) __asm__ volatile("hlt"); return 0; }