From 18992d92ec0261f9838fdbb76e60f02112db356b Mon Sep 17 00:00:00 2001 From: mintsuki Date: Thu, 10 Dec 2020 09:00:07 +0100 Subject: [PATCH] docs: Explicitly state that the bootloader may ignore kernel header tags in stivale2 --- STIVALE2.md | 4 ++++ 1 file changed, 4 insertions(+) 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 {