iPXE
|
VESA frame buffer console. More...
Go to the source code of this file.
Data Structures | |
struct | vbe_controller_info |
VBE controller information. More... | |
struct | vbe_mode_info |
VBE mode information. More... | |
Macros | |
#define | VBE_CONTROLLER_INFO 0x4f00 |
INT 10,4f00: return controller information. More... | |
#define | VBE_CONTROLLER_SIGNATURE ( ( 'V' << 0 ) | ( 'E' << 8 ) | ( 'S' << 16 ) | ( 'A' << 24 ) ) |
VBE controller information signature. More... | |
#define | VBE_MODE_END 0xffff |
VBE mode list end marker. More... | |
#define | VBE_MODE_INFO 0x4f01 |
INT 10,4f01: return VBE mode information. More... | |
#define | VBE_SET_MODE 0x4f02 |
INT 10,4f02: set VBE mode. More... | |
#define | VBE_MODE_LINEAR 0x4000 |
VBE linear frame buffer mode bit. More... | |
#define | VBE_GET_FONT 0x1130 |
INT 10,1130: get font information. More... | |
#define | VBE_SET_VGA_MODE 0x0000 |
INT 10,00: set VGA mode. More... | |
#define | VBE_GET_VGA_MODE 0x0f00 |
INT 10,0f: get VGA mode. More... | |
Enumerations | |
enum | vbe_mode_attributes { VBE_MODE_ATTR_SUPPORTED = 0x0001, VBE_MODE_ATTR_TTY = 0x0004, VBE_MODE_ATTR_COLOUR = 0x0008, VBE_MODE_ATTR_GRAPHICS = 0x0010, VBE_MODE_ATTR_NOT_VGA = 0x0020, VBE_MODE_ATTR_NOT_WINDOWED = 0x0040, VBE_MODE_ATTR_LINEAR = 0x0080, VBE_MODE_ATTR_DOUBLE = 0x0100, VBE_MODE_ATTR_INTERLACED = 0x0200, VBE_MODE_ATTR_TRIPLE_BUF = 0x0400, VBE_MODE_ATTR_STEREO = 0x0800, VBE_MODE_ATTR_DUAL = 0x1000 } |
VBE mode attributes. More... | |
enum | vbe_mode_memory_model { VBE_MODE_MODEL_TEXT = 0x00, VBE_MODE_MODEL_CGA = 0x01, VBE_MODE_MODEL_HERCULES = 0x02, VBE_MODE_MODEL_PLANAR = 0x03, VBE_MODE_MODEL_PACKED_PIXEL = 0x04, VBE_MODE_MODEL_NON_CHAIN_4 = 0x05, VBE_MODE_MODEL_DIRECT_COLOUR = 0x06, VBE_MODE_MODEL_YUV = 0x07 } |
VBE mode memory models. More... | |
enum | vbe_font_set { VBE_FONT_8x14 = 0x0200, VBE_FONT_8x8_DOUBLE = 0x0300, VBE_FONT_8x8_DOUBLE_HIGH = 0x0400, VBE_FONT_9x14_ALPHA_ALT = 0x0500, VBE_FONT_8x16 = 0x0600, VBE_FONT_9x16_ALT = 0x0700 } |
Font sets. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
struct vbe_controller_info | __attribute__ ((packed)) |
Variables | |
uint32_t | vbe_signature |
VBE signature. More... | |
uint8_t | vbe_minor_version |
VBE minor version. More... | |
uint8_t | vbe_major_version |
VBE major version. More... | |
struct segoff | oem_string_ptr |
Pointer to OEM string. More... | |
uint32_t | capabilities |
Capabilities of graphics controller. More... | |
struct segoff | video_mode_ptr |
Pointer to video mode list. More... | |
uint16_t | total_memory |
Number of 64kB memory blocks. More... | |
uint16_t | oem_software_rev |
VBE implementation software revision. More... | |
struct segoff | oem_vendor_name_ptr |
Pointer to vendor name string. More... | |
struct segoff | oem_product_name_ptr |
Pointer to product name string. More... | |
struct segoff | oem_product_rev_ptr |
Pointer to product revision string. More... | |
uint8_t | reserved [222] |
Reserved for VBE implementation scratch area. More... | |
uint16_t | mode_attributes |
Mode attributes. More... | |
uint8_t | win_a_attributes |
Window A attributes. More... | |
uint8_t | win_b_attributes |
Window B attributes. More... | |
uint16_t | win_granularity |
Window granularity. More... | |
uint16_t | win_size |
Window size. More... | |
uint16_t | win_a_segment |
Window A start segment. More... | |
uint16_t | win_b_segment |
Window B start segment. More... | |
struct segoff | win_func_ptr |
Pointer to window function. More... | |
uint16_t | bytes_per_scan_line |
Bytes per scan line. More... | |
uint16_t | x_resolution |
Horizontal resolution in pixels or characters. More... | |
uint16_t | y_resolution |
Vertical resolution in pixels or characters. More... | |
uint8_t | x_char_size |
Character cell width in pixels. More... | |
uint8_t | y_char_size |
Character cell height in pixels. More... | |
uint8_t | number_of_planes |
Number of memory planes. More... | |
uint8_t | bits_per_pixel |
Bits per pixel. More... | |
uint8_t | number_of_banks |
Number of banks. More... | |
uint8_t | memory_model |
Memory model type. More... | |
uint8_t | bank_size |
Bank size in kB. More... | |
uint8_t | number_of_image_pages |
Number of images. More... | |
uint8_t | reserved_1 |
Reserved for page function. More... | |
uint8_t | red_mask_size |
Size of direct colour red mask in bits. More... | |
uint8_t | red_field_position |
Bit position of LSB of red mask. More... | |
uint8_t | green_mask_size |
Size of direct colour green mask in bits. More... | |
uint8_t | green_field_position |
Bit position of LSB of green mask. More... | |
uint8_t | blue_mask_size |
Size of direct colour blue mask in bits. More... | |
uint8_t | blue_field_position |
Bit position of LSB of blue mask. More... | |
uint8_t | rsvd_mask_size |
Size of direct colour reserved mask in bits. More... | |
uint8_t | rsvd_field_position |
Bit position of LSB of reserved mask. More... | |
uint8_t | direct_colour_mode_info |
Direct colour mode attributes. More... | |
uint32_t | phys_base_ptr |
Physical address for flat memory frame buffer. More... | |
uint32_t | off_screen_mem_offset |
Pointer to start of off-screen memory. More... | |
uint16_t | off_screen_mem_size |
Amount of off-screen memory in 1kB units. More... | |
uint8_t | reserved_2 [206] |
Reserved. More... | |
enum vbe_mode_attributes | __attribute__ |
VESA frame buffer console.
Definition in file vesafb.h.
#define VBE_CONTROLLER_INFO 0x4f00 |
#define VBE_CONTROLLER_SIGNATURE ( ( 'V' << 0 ) | ( 'E' << 8 ) | ( 'S' << 16 ) | ( 'A' << 24 ) ) |
#define VBE_MODE_INFO 0x4f01 |
#define VBE_MODE_LINEAR 0x4000 |
#define VBE_GET_FONT 0x1130 |
enum vbe_mode_attributes |
VBE mode attributes.
Definition at line 132 of file vesafb.h.
VBE mode memory models.
Definition at line 160 of file vesafb.h.
enum vbe_font_set |
Font sets.
Definition at line 189 of file vesafb.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
struct vbe_controller_info __attribute__ | ( | (packed) | ) |
struct segoff video_mode_ptr |
Pointer to video mode list.
Definition at line 22 of file vesafb.h.
Referenced by vesafb_mode_list().
uint16_t oem_software_rev |
struct segoff oem_vendor_name_ptr |
struct segoff oem_product_name_ptr |
struct segoff oem_product_rev_ptr |
uint8_t reserved[222] |
uint16_t x_resolution |
uint16_t y_resolution |
uint8_t red_mask_size |
uint8_t green_mask_size |
uint8_t green_field_position |
uint8_t blue_mask_size |
uint8_t blue_field_position |
uint8_t rsvd_mask_size |
uint8_t rsvd_field_position |
uint8_t direct_colour_mode_info |
uint32_t phys_base_ptr |
uint32_t off_screen_mem_offset |
uint16_t off_screen_mem_size |