Dom0 console

group dom0_console

Dom0_console.

The console structure in start_info.console.dom0

This structure includes a variety of information required to have a working VGA/VESA console.

Defines

xen_vga_console_info dom0_vga_console_info
xen_vga_console_info_t dom0_vga_console_info_t

Typedefs

typedef struct dom0_vga_console_info dom0_vga_console_info_t
struct dom0_vga_console_info
#include <xen.h>

Public Members

uint8_t video_type

DOM0_VGA_CONSOLE_???

union dom0_vga_console_info::anonymous_union_3 u
union anonymous_union_3
#include <xen.h>

Public Members

struct dom0_vga_console_info::anonymous_union_3::anonymous_struct_2 anonymous_union_3::text_mode_3
struct dom0_vga_console_info::anonymous_union_3::anonymous_struct_3 anonymous_union_3::vesa_lfb
struct anonymous_union_3::anonymous_struct_2
#include <xen.h>

Public Members

uint16_t anonymous_union_3::anonymous_struct_2::font_height

Font height, in pixels.

uint16_t anonymous_union_3::anonymous_struct_2::cursor_x

Cursor location (column, row).

uint16_t anonymous_union_3::anonymous_struct_2::cursor_y
uint16_t anonymous_union_3::anonymous_struct_2::rows

Number of rows and columns (dimensions in characters).

uint16_t anonymous_union_3::anonymous_struct_2::columns
struct anonymous_union_3::anonymous_struct_3
#include <xen.h>

Public Members

uint16_t anonymous_union_3::anonymous_struct_3::width

Width and height, in pixels.

uint16_t anonymous_union_3::anonymous_struct_3::height
uint16_t anonymous_union_3::anonymous_struct_3::bytes_per_line

Bytes per scan line.

uint16_t anonymous_union_3::anonymous_struct_3::bits_per_pixel

Bits per pixel.

uint32_t anonymous_union_3::anonymous_struct_3::lfb_base

LFB physical address, and size (in units of 64kB).

uint32_t anonymous_union_3::anonymous_struct_3::lfb_size
uint8_t anonymous_union_3::anonymous_struct_3::red_pos

RGB mask offsets and sizes, as defined by VBE 1.2+

uint8_t anonymous_union_3::anonymous_struct_3::red_size
uint8_t anonymous_union_3::anonymous_struct_3::green_pos
uint8_t anonymous_union_3::anonymous_struct_3::green_size
uint8_t anonymous_union_3::anonymous_struct_3::blue_pos
uint8_t anonymous_union_3::anonymous_struct_3::blue_size
uint8_t anonymous_union_3::anonymous_struct_3::rsvd_pos
uint8_t anonymous_union_3::anonymous_struct_3::rsvd_size
uint32_t anonymous_union_3::anonymous_struct_3::gbl_caps

VESA capabilities (offset 0xa, VESA command 0x4f00).

uint16_t anonymous_union_3::anonymous_struct_3::mode_attrs

Mode attributes (offset 0x0, VESA command 0x4f01).

uint16_t anonymous_union_3::anonymous_struct_3::pad
uint32_t anonymous_union_3::anonymous_struct_3::ext_lfb_base

high 32 bits of lfb_base