![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
VBE mode information. More...
#include <mb_info.h>
Data Fields | |
all VESA versions | |
| l4_uint16_t | mode_attributes |
| Mode attributes. | |
| l4_uint8_t | win_a_attributes |
| Window A attributes. | |
| l4_uint8_t | win_b_attributes |
| Window B attributes. | |
| l4_uint16_t | win_granularity |
| Window granularity. | |
| l4_uint16_t | win_size |
| Window size. | |
| l4_uint16_t | win_a_segment |
| Window A start segment. | |
| l4_uint16_t | win_b_segment |
| Window B start segment. | |
| l4_uint32_t | win_func |
| Real mode pointer to window function. | |
| l4_uint16_t | bytes_per_scanline |
| Bytes per scan line. | |
>= VESA version 1.2 | |
| l4_uint16_t | x_resolution |
| Horizontal resolution in pixels or characters. | |
| l4_uint16_t | y_resolution |
| Vertical resolution in pixels or characters. | |
| l4_uint8_t | x_char_size |
| Character cell width in pixels. | |
| l4_uint8_t | y_char_size |
| Character cell height in pixels. | |
| l4_uint8_t | number_of_planes |
| Number of memory planes. | |
| l4_uint8_t | bits_per_pixel |
| Bits per pixel. | |
| l4_uint8_t | number_of_banks |
| Number of banks. | |
| l4_uint8_t | memory_model |
| Memory model type. | |
| l4_uint8_t | bank_size |
| Bank size in KiB. | |
| l4_uint8_t | number_of_image_pages |
| Number of images. | |
| l4_uint8_t | reserved0 |
| Reserved for page function. | |
direct color | |
| l4_uint8_t | red_mask_size |
| Size of direct color red mask in bits. | |
| l4_uint8_t | red_field_position |
| Bit position of LSB of red mask. | |
| l4_uint8_t | green_mask_size |
| Size of direct color green mask in bits. | |
| l4_uint8_t | green_field_position |
| Bit position of LSB of green mask. | |
| l4_uint8_t | blue_mask_size |
| Size of direct color blue mask in bits. | |
| l4_uint8_t | blue_field_position |
| Bit position of LSB of blue mask. | |
| l4_uint8_t | reserved_mask_size |
| Size of direct color reserved mask in bits. | |
| l4_uint8_t | reserved_field_position |
| Bit position of LSB of reserved mask. | |
| l4_uint8_t | direct_color_mode_info |
| Direct color mode attributes. | |
>= VESA version 2.0 | |
| l4_uint32_t | phys_base |
| Physical address for flat memory memory frame buffer. | |
| l4_uint32_t | reserved1 |
| Reserved – always set to 0. | |
| l4_uint16_t | reversed2 |
| Reserved – always set to 0. | |
>= VESA version 3.0 | |
| l4_uint16_t | linear_bytes_per_scanline |
| Bytes per scan line for linear modes. | |
| l4_uint8_t | banked_number_of_image_pages |
| Number of images for banked modes. | |
| l4_uint8_t | linear_number_of_image_pages |
| Number of images for linear modes. | |
| l4_uint8_t | linear_red_mask_size |
| Size of direct color red mask (linear modes). | |
| l4_uint8_t | linear_red_field_position |
| Bit position of LSB of red mask (linear modes). | |
| l4_uint8_t | linear_green_mask_size |
| Size of direct color green mask (linear modes). | |
| l4_uint8_t | linear_green_field_position |
| Bit position of LSB of green mask (linear modes). | |
| l4_uint8_t | linear_blue_mask_size |
| Size of direct color blue mask (linear modes). | |
| l4_uint8_t | linear_blue_field_position |
| Bit position of LSB of blue mask (linear modes). | |
| l4_uint8_t | linear_reserved_mask_size |
| Size of direct color reserved mask (linear modes). | |
| l4_uint8_t | linear_reserved_field_position |
| Bit position of LSB of reserved mask (linear modes). | |
| l4_uint32_t | max_pixel_clock |
| Maximum pixel clock (in Hz) for graphics mode. | |
| l4_uint8_t | reserved3 [190] |
| Reserved (padding). | |