]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
multiboot2: Fix alignment of header tags
authorDaniel Kiper <daniel.kiper@oracle.com>
Fri, 10 Mar 2017 15:53:39 +0000 (16:53 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 10 Mar 2017 15:53:39 +0000 (16:53 +0100)
Header tags have to be 8-bytes aligned. So, fix it.
Additionally, mention header closing tag in the spec.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
doc/multiboot.texi

index a9c3f161df95991b4f5c0feede45cab21eb25deb..2e2d7e74a926702790f05ef43c244f3b0d6d3cda 100644 (file)
@@ -408,8 +408,9 @@ and @samp{header_length}), must have a 32-bit unsigned sum of zero.
 
 @node Header tags
 @subsection General tag structure
-Tags constitutes a buffer of structures following each other padded on @samp{u32} size.
-Every structure has following format:
+Tags constitutes a buffer of structures following each other padded when necessary
+in order for each tag to start at 8-bytes aligned address. Tags are terminated by
+a tag of type @samp{0} and size @samp{8}. Every structure has following format:
 
 @example
 @group