mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-19 17:27:51 +03:00
7e94b090fe
This implements a simple bootloader that is capable of loading ELF64 kernel images. It does this by using QEMU/GRUB to load the kernel image from disk and pass it to our bootloader as a Multiboot module. The bootloader then parses the ELF image and sets it up appropriately. The kernel's entry point is a C++ function with architecture-native code. Co-authored-by: Liav A <liavalb@gmail.com>
27 lines
531 B
INI
27 lines
531 B
INI
timeout=1
|
|
|
|
menuentry 'SerenityOS (normal)' {
|
|
root=hd0,5
|
|
multiboot /boot/Bootloader root=/dev/hda4
|
|
module /boot/Kernel
|
|
}
|
|
|
|
menuentry 'SerenityOS (text mode)' {
|
|
root=hd0,5
|
|
multiboot /boot/Bootloader boot_mode=no-fbdev root=/dev/hda4
|
|
module /boot/Kernel
|
|
}
|
|
|
|
menuentry 'SerenityOS (No ACPI)' {
|
|
root=hd0,5
|
|
multiboot /boot/Bootloader root=/dev/hda4 acpi=off
|
|
module /boot/Kernel
|
|
}
|
|
|
|
menuentry 'SerenityOS (with serial debug)' {
|
|
root=hd0,5
|
|
multiboot /boot/Bootloader serial_debug root=/dev/hda4
|
|
module /boot/Kernel
|
|
}
|
|
|