mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00: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>
25 lines
530 B
INI
25 lines
530 B
INI
timeout=1
|
|
|
|
menuentry 'SerenityOS (normal)' {
|
|
root=hd0,1
|
|
multiboot /boot/Bootloader root=/dev/hda1
|
|
module /boot/Kernel
|
|
}
|
|
|
|
menuentry 'SerenityOS (text mode)' {
|
|
root=hd0,1
|
|
multiboot /boot/Bootloader boot_mode=no-fbdev root=/dev/hda1
|
|
module /boot/Kernel
|
|
}
|
|
|
|
menuentry 'SerenityOS (No ACPI)' {
|
|
root=hd0,1
|
|
multiboot /boot/Bootloader root=/dev/hda1 acpi=off
|
|
module /boot/Kernel
|
|
}
|
|
|
|
menuentry 'SerenityOS (with serial debug)' {
|
|
root=hd0,1
|
|
multiboot /boot/Bootloader serial_debug root=/dev/hda1
|
|
module /boot/Kernel
|
|
}
|