limine: Document Requests Section

This commit is contained in:
mintsuki 2022-04-15 01:28:48 +02:00
parent dae8927078
commit 93ce137a21
1 changed files with 8 additions and 1 deletions

View File

@ -43,7 +43,7 @@ struct limine_example_request {
bootloader will scan for inside the executable file to find requests. Requests
may be located anywhere inside the executable as long as they are 8-byte
aligned. There may only be 1 of the same request. The bootloader will refuse
to boot an executable with multiple of the same request IDs.
to boot an executable with multiple of the same request IDs. Alternatively, it is possible to provide a list of requests explicitly via an executable file section. See "Limine Requests Section".
* `revision` - The revision of the request that the kernel provides. This is
bumped whenever new members or functionality are added to the request structure.
Bootloaders process requests in a backwards compatible manner, *always*. This
@ -73,6 +73,13 @@ revisions do.
This is all there is to features. For a list of official Limine features, read
the "Feature List" section below.
## Limine Requests Section
If the executable kernel file contains a `.limine_reqs` section, the bootloader
will, instead of scanning the executable for requests, fetch the requests
from a NULL-terminated array of pointers to the provided requests, contained
inside said section.
## Entry memory layout
The protocol mandates kernels to load themselves at or above