|
StuBS
|
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:: { ... } | |
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.
| uint64_t Multiboot::Framebuffer::address |
Physical address of the framebuffer.
| uint32_t Multiboot::Framebuffer::pitch |
Number of bytes per row.
| uint32_t Multiboot::Framebuffer::width |
Width of framebuffer.
| uint32_t Multiboot::Framebuffer::height |
Height of framebuffer.
| uint8_t Multiboot::Framebuffer::bpp |
Bits per pixel.
| enum Multiboot::Framebuffer::Type Multiboot::Framebuffer::type |
| union { ... } Multiboot::Framebuffer |