:: commit 18992d92ec0261f9838fdbb76e60f02112db356b

mintsuki <mintsuki@protonmail.com> — 2020-12-10 08:00

parents: 3d76435d4c

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

diff --git a/STIVALE2.md b/STIVALE2.md
index c97ace76..556403cb 100644
--- a/STIVALE2.md
+++ b/STIVALE2.md
@@ -164,6 +164,10 @@ rather, feature-specific support detection.
 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 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:
 ```c
 struct stivale2_hdr_tag {
tab: 248 wrap: offon