All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiboot 2 Header Tags: How many and in what sequence?
@ 2020-05-23 10:17 Hans Ulrich Niedermann
  0 siblings, 0 replies; only message in thread
From: Hans Ulrich Niedermann @ 2020-05-23 10:17 UTC (permalink / raw)
  To: grub-devel

The Multiboot2 specification specifies a number of header tags which an
OS image can define and which the bootloader needs to parse.

However, the spec does not mention in which order an OS image should
contain MB2 header tags:

  * Ascending numerical order of the 'type' value? (This could only
    happen if you discount the type=0 termination tag.)

  * The order from the specification?

  * No order at all?

Also, there is no mention of whether MB2 header tags are permitted to
appear multiple times in the OS image. Reasonable use cases could be:

  * Two Information Request tags, one with the values the OS image
    absolutely requires which has the optional bit cleared, and one
    with values the OS image would like to know but does not really
    need and which does have the optional bit set.

  * Multiple "framebuffer tags" requesting multiple graphics modes in
    e.g. descending order or preference.

Does anyone have any insights into this?

Uli


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-23 10:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23 10:17 Multiboot 2 Header Tags: How many and in what sequence? Hans Ulrich Niedermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.