Next: , Previous: , Up: OS image format   [Contents][Index]


3.1.9 Flags tag

        +-------------------+
u16     | type = 4          |
u16     | flags             |
u32     | size = 12         |
u32     | console_flags     |
        +-------------------+

If this tag is present and bit 0 of ‘console_flags’ is set at least one of supported consoles must be present and information about it must be available in mbi. If bit ‘1’ of ‘console_flags’ is set it indicates that the OS image has EGA text support.

3.1.10 The framebuffer tag of Multiboot2 header

        +-------------------+
u16     | type = 5          |
u16     | flags             |
u32     | size = 20         |
u32     | width             |
u32     | height            |
u32     | depth             |
        +-------------------+

This tag specifies the preferred graphics mode. If this tag is present bootloader assumes that the payload has framebuffer support. Note that that is only a recommended mode by the OS image. Boot loader may choose a different mode if it sees fit.

The meaning of each is as follows:

width

Contains the number of the columns. This is specified in pixels in a graphics mode, and in characters in a text mode. The value zero indicates that the OS image has no preference.

height

Contains the number of the lines. This is specified in pixels in a graphics mode, and in characters in a text mode. The value zero indicates that the OS image has no preference.

depth

Contains the number of bits per pixel in a graphics mode, and zero in a text mode. The value zero indicates that the OS image has no preference.