docs: Explicitly state that the bootloader may ignore kernel header tags in stivale2

This commit is contained in:
mintsuki 2020-12-10 09:00:07 +01:00
parent 3d76435d4c
commit 18992d92ec

View File

@ -164,6 +164,10 @@ rather, feature-specific support detection.
The kernel executable provides the bootloader with a linked list of structures, The kernel executable provides the bootloader with a linked list of structures,
the first of which is pointed to by the `tags` entry of the stivale2 header. the first of which is pointed to by the `tags` entry of the stivale2 header.
The bootloader is free to ignore kernel tags that it does not recognise.
The kernel should make sure that the bootloader has properly interpreted the
provided tags, either by checking returned tags or by other means.
Each tag shall contain these 2 fields: Each tag shall contain these 2 fields:
```c ```c
struct stivale2_hdr_tag { struct stivale2_hdr_tag {