StuBS
Multiboot::Framebuffer Struct Reference

Video mode: Framebuffer. More...

#include <boot/multiboot/data.h>

Public Types

enum  Type : uint8_t {
  INDEXED = 0 ,
  RGB = 1 ,
  EGA_TEXT = 2
}

Public Attributes

uint64_t address
 Physical address of the framebuffer.
uint32_t pitch
 Number of bytes per row.
uint32_t width
 Width of framebuffer.
uint32_t height
 Height of framebuffer.
uint8_t bpp
 Bits per pixel.
enum Multiboot::Framebuffer::Type type
union Multiboot::Framebuffer:: { ... }  

Detailed Description

Video mode: Framebuffer.

This beautiful structure contains everything required for using the graphic framebuffer in a very handy manner – however, it may not be well supported by current boot loaders... These information can be retrieved from VBE as well, though you then have to parse these huge structures containing a lot of useless stuff.

Member Enumeration Documentation

◆ Type

Enumerator
INDEXED 

Using a custom color palette.

RGB 

Standard red-green-blue.

EGA_TEXT 

Enhanced Graphics Adapter color palette.

Member Data Documentation

◆ address

uint64_t Multiboot::Framebuffer::address

Physical address of the framebuffer.

◆ pitch

uint32_t Multiboot::Framebuffer::pitch

Number of bytes per row.

◆ width

uint32_t Multiboot::Framebuffer::width

Width of framebuffer.

◆ height

uint32_t Multiboot::Framebuffer::height

Height of framebuffer.

◆ bpp

uint8_t Multiboot::Framebuffer::bpp

Bits per pixel.

◆ type

enum Multiboot::Framebuffer::Type Multiboot::Framebuffer::type

◆ @042116220247041310230246320300314171170033000356

union { ... } Multiboot::Framebuffer

The documentation for this struct was generated from the following file: