]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
multiboot2: Clarify usage of the address tag multiboot2
authorRoger Pau Monné <roger.pau@citrix.com>
Sat, 23 Jun 2018 19:32:03 +0000 (21:32 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Sat, 23 Jun 2018 19:32:03 +0000 (21:32 +0200)
Add a note to spell out that if the address tag is not present the
file should be loaded using the elf header.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
doc/multiboot.texi

index 2e2d7e74a926702790f05ef43c244f3b0d6d3cda..df8a0d056e76629b581f0d0ce44c47337b6cc7fa 100644 (file)
@@ -509,6 +509,14 @@ assumes that no bss segment is present.
 
 @end table
 
+Note: This information does not need to be provided if the kernel image
+is in @sc{elf} format, but it must be provided if the image is in a.out
+format or in some other format. When the address tag is present it must
+be used in order to load the image, regardless of whether an @sc{elf}
+header is also present. Compliant boot loaders must be able to load
+images that are either in @sc{elf} format or contain the address tag
+embedded in the Multiboot2 header.
+
 @subsection The entry address tag of Multiboot2 header
 
 @example