:: commit 6379d059827d125d0ec4c2be623f920c7a69c30d

Kacper Słomiński <kacper.slominski72@gmail.com> — 2021-06-29 14:08

parents: e6adc164bb

CONFIG, README: document support for Multiboot 1

diff --git a/CONFIG.md b/CONFIG.md
index 572debd6..ea715ba4 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -70,7 +70,7 @@ Some keys take *URIs* as values; these are described in the next section.
 * `VERBOSE` - If set to `yes`, print additional information during boot. Defaults to not verbose.
 
 *Locally assignable (non protocol specific)* keys are:
-* `PROTOCOL` - The boot protocol that will be used to boot the kernel. Valid protocols are: `linux`, `stivale`, `stivale2`, `chainload`.
+* `PROTOCOL` - The boot protocol that will be used to boot the kernel. Valid protocols are: `linux`, `stivale`, `stivale2`, `chainload`, `multiboot` or `multiboot1`.
 * `CMDLINE` - The command line string to be passed to the kernel. Can be omitted.
 * `KERNEL_CMDLINE` - Alias of `CMDLINE`.
 
@@ -99,6 +99,16 @@ Some keys take *URIs* as values; these are described in the next section.
 * Chainload protocol on UEFI:
   * `IMAGE_PATH` - URI of the EFI application to chainload.
   * `RESOLUTION` - The resolution to be used. This setting takes the form of `<width>x<height>x<bpp>`. If the resolution is not available, Limine will pick another one automatically. Omitting `<bpp>` will default to 32.
+* Multiboot1 protocol:
+  * `KERNEL_PATH` - The URI path of the kernel.
+  * `MODULE_PATH` - The URI path to a module.
+  * `MODULE_STRING` - A string to be passed to a module.
+
+  Note that one can define these 2 last variable multiple times to specify multiple
+  modules.
+  The entries will be matched in order. E.g.: the 1st module path entry will be matched
+  to the 1st module string entry that appear, and so on.
+  * `RESOLUTION` - The resolution to be used should the kernel request a graphical framebuffer. This setting takes the form of `<width>x<height>x<bpp>` and *overrides* any resolution requested by the kernel. If the resolution is not available, Limine will pick another one automatically. Omitting `<bpp>` will default to 32.
 
 ## URIs
 
diff --git a/README.md b/README.md
index b0943a28..bdb27789 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,7 @@ Like Limine and want to support it? Donate Bitcoin to `bc1q00d59y75crpapw7qp8sea
 * Linux
 * stivale and stivale2 (Limine's native boot protocols, see [their specifications](https://github.com/stivale/stivale) for details)
 * Chainloading
+* Multiboot 1
 
 ### Supported filesystems
 * ext2/3/4
tab: 248 wrap: offon