iPXE
Data Fields
vbe_mode_info Struct Reference

VBE mode information. More...

#include <vesafb.h>

Data Fields

uint16_t mode_attributes
 Mode attributes.
uint8_t win_a_attributes
 Window A attributes.
uint8_t win_b_attributes
 Window B attributes.
uint16_t win_granularity
 Window granularity.
uint16_t win_size
 Window size.
uint16_t win_a_segment
 Window A start segment.
uint16_t win_b_segment
 Window B start segment.
struct segoff win_func_ptr
 Pointer to window function.
uint16_t bytes_per_scan_line
 Bytes per scan line.
uint16_t x_resolution
 Horizontal resolution in pixels or characters.
uint16_t y_resolution
 Vertical resolution in pixels or characters.
uint8_t x_char_size
 Character cell width in pixels.
uint8_t y_char_size
 Character cell height in pixels.
uint8_t number_of_planes
 Number of memory planes.
uint8_t bits_per_pixel
 Bits per pixel.
uint8_t number_of_banks
 Number of banks.
uint8_t memory_model
 Memory model type.
uint8_t bank_size
 Bank size in kB.
uint8_t number_of_image_pages
 Number of images.
uint8_t reserved_1
 Reserved for page function.
uint8_t red_mask_size
 Size of direct colour red mask in bits.
uint8_t red_field_position
 Bit position of LSB of red mask.
uint8_t green_mask_size
 Size of direct colour green mask in bits.
uint8_t green_field_position
 Bit position of LSB of green mask.
uint8_t blue_mask_size
 Size of direct colour blue mask in bits.
uint8_t blue_field_position
 Bit position of LSB of blue mask.
uint8_t rsvd_mask_size
 Size of direct colour reserved mask in bits.
uint8_t rsvd_field_position
 Bit position of LSB of reserved mask.
uint8_t direct_colour_mode_info
 Direct colour mode attributes.
uint32_t phys_base_ptr
 Physical address for flat memory frame buffer.
uint32_t off_screen_mem_offset
 Pointer to start of off-screen memory.
uint16_t off_screen_mem_size
 Amount of off-screen memory in 1kB units.
uint8_t reserved_2 [206]
 Reserved.

Detailed Description

VBE mode information.

Definition at line 62 of file vesafb.h.


Field Documentation

Mode attributes.

Definition at line 64 of file vesafb.h.

Referenced by vesafb_mode_info(), and vesafb_select_mode().

Window A attributes.

Definition at line 66 of file vesafb.h.

Window B attributes.

Definition at line 68 of file vesafb.h.

Window granularity.

Definition at line 70 of file vesafb.h.

Window size.

Definition at line 72 of file vesafb.h.

Window A start segment.

Definition at line 74 of file vesafb.h.

Window B start segment.

Definition at line 76 of file vesafb.h.

Pointer to window function.

Definition at line 78 of file vesafb.h.

Bytes per scan line.

Definition at line 80 of file vesafb.h.

Referenced by vesafb_set_mode().

Horizontal resolution in pixels or characters.

Definition at line 82 of file vesafb.h.

Referenced by vesafb_mode_info(), vesafb_select_mode(), and vesafb_set_mode().

Vertical resolution in pixels or characters.

Definition at line 84 of file vesafb.h.

Referenced by vesafb_mode_info(), vesafb_select_mode(), and vesafb_set_mode().

Character cell width in pixels.

Definition at line 86 of file vesafb.h.

Character cell height in pixels.

Definition at line 88 of file vesafb.h.

Number of memory planes.

Definition at line 90 of file vesafb.h.

Bits per pixel.

Definition at line 92 of file vesafb.h.

Referenced by vesafb_mode_info(), vesafb_select_mode(), and vesafb_set_mode().

Number of banks.

Definition at line 94 of file vesafb.h.

Memory model type.

Definition at line 96 of file vesafb.h.

Referenced by vesafb_mode_info(), and vesafb_select_mode().

Bank size in kB.

Definition at line 98 of file vesafb.h.

Number of images.

Definition at line 100 of file vesafb.h.

Referenced by vesafb_mode_info().

Reserved for page function.

Definition at line 102 of file vesafb.h.

Size of direct colour red mask in bits.

Definition at line 104 of file vesafb.h.

Referenced by vesafb_mode_info(), and vesafb_set_mode().

Bit position of LSB of red mask.

Definition at line 106 of file vesafb.h.

Referenced by vesafb_set_mode().

Size of direct colour green mask in bits.

Definition at line 108 of file vesafb.h.

Referenced by vesafb_mode_info(), and vesafb_set_mode().

Bit position of LSB of green mask.

Definition at line 110 of file vesafb.h.

Referenced by vesafb_set_mode().

Size of direct colour blue mask in bits.

Definition at line 112 of file vesafb.h.

Referenced by vesafb_mode_info(), and vesafb_set_mode().

Bit position of LSB of blue mask.

Definition at line 114 of file vesafb.h.

Referenced by vesafb_set_mode().

Size of direct colour reserved mask in bits.

Definition at line 116 of file vesafb.h.

Referenced by vesafb_mode_info().

Bit position of LSB of reserved mask.

Definition at line 118 of file vesafb.h.

Direct colour mode attributes.

Definition at line 120 of file vesafb.h.

Physical address for flat memory frame buffer.

Definition at line 122 of file vesafb.h.

Referenced by vesafb_set_mode().

Pointer to start of off-screen memory.

Definition at line 124 of file vesafb.h.

Amount of off-screen memory in 1kB units.

Definition at line 126 of file vesafb.h.

Reserved.

Definition at line 128 of file vesafb.h.


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