1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

Kernel: Allow to disable early boot console

This aid debugging on bare metal when we suspect that the boot console
does something wrong that interferes with other kernel components.
This commit is contained in:
Liav A 2022-03-15 22:04:12 +02:00 committed by Linus Groh
parent 0ef1137e88
commit eca8f292a5
4 changed files with 23 additions and 4 deletions

View file

@ -35,6 +35,12 @@ List of options:
* **`disable_virtio`** - If present on the command line, virtio devices will not be detected, and initialized on boot.
* **`early_boot_console`** - This parameter expects **`on`** or **`off`** and is by default set to **`on`**.
When set to **`off`**, the kernel will not initialize any early console to show kernel dmesg output.
When set to **`on`**, the kernel will try to initialize either a text mode console (if VGA text mode was detected)
or framebuffer console, based on what the Multiboot bootloader specified on the physical address, width, height
and bit color depth.
* **`enable_ioapic`** - This parameter expects **`on`** or **`off`** and is by default set to **`on`**.
When set to **`off`**, the kernel will initialize the two i8259 PICs.
When set to **`on`**, the kernel will try to initialize the IOAPIC (or IOAPICs if there's more than one),