TSB12LV26 agent_handle
Simics Reference Manual  /  5 Classes  / 

accel-vga

Description

Accelerated Super VGA device implementing the Bochs VBE protocol. Supports all reasonable VBE modes that fit into the 16 MiB display memory, the largest being 2560x1600x32. Modes outside of the configured display resolution, changeable with the display-resolution command, will not be reported by the VGA BIOS when queried for available modes.

Interfaces Implemented

conf_object, log_object, video, image_snoop, pci_device, io_memory, vga_text, vga_update, vga_text_info

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for this class

Attributes

pci_bus
Optional attribute; read/write access; type: o|n
The PCI bus this device is connected to, implementing the pci-bus interface.
interrupt_pin
Optional attribute; read/write access; type: [iiii]
State of the interrupt pin.
config_registers
Optional attribute; read/write access; type: [i{64}]
The 64 PCI configuration registers, each 32 bits in size.
write_masks
Optional attribute; read/write access; type: [[ii]*]
Write masks for all registered configuration registers. The format for each entry is (offset, mask).
mappings
Optional attribute; read/write access; type: [[i{5:8}]|[iiiiiiiio|nii]*]
List of all current PCI IO and memory mappings.
expansion_rom
Optional attribute; read/write access; type: n|[oii]
ROM object, map size, and map function number for the Expansion ROM.
config_register_info
Pseudo attribute; read-only access; type: [[isii]*]
Register info for all registered configuration registers. The format for each entry is (offset, name, size, write-mask).
memory_space
Optional attribute; read/write access; type: o|n
Memory space to which the device is mapped. Needed for dynamic remapping.
console
Optional attribute; read/write access; type: o|n
Console object that must implement either gfx_con or gfx_console or both the serial_device and extended_serial interfaces.
crtc_regs
Optional attribute; read/write access; type: [i*]
(Register-0 ... Register-24) is a list of CRTC registers.
crtc_next
Optional attribute; read/write access; type: i
Integer register representing the next CRTC address.
attrib_regs
Optional attribute; read/write access; type: [i*]
(Register-0 ... Register-20) is a list of attribute registers.
attrib_next_index
Optional attribute; read/write access; type: i
Decides whether the next access to an attribute controller register (through port 0x3C0) will contain an address or data.
attrib_next_reg
Optional attribute; read/write access; type: i
The address of the attribute controller register designated for the next access.
attrib_video_enable
Optional attribute; read/write access; type: i
Decides whether video is enabled or not.
seq_regs
Optional attribute; read/write access; type: [i*]
(Register-0 ... Register-4) is a list of sequence registers found in the VGA adapter.
seq_next
Optional attribute; read/write access; type: i
Represents the address of the sequence register designated for the next read/write access.
gfx_regs
Optional attribute; read/write access; type: [i*]
(Register-0 ... Register-8) is a list of the nine graphics controller registers found in an VGA adapter.
gfx_next
Optional attribute; read/write access; type: i
Represents the address of the graphics controller register designated for the next read/write access.
gfx_latch
Optional attribute; read/write access; type: [iiii]
(Latch-0 ... Latch-4) List of four graphics data controller latches.
pel_mask
Optional attribute; read/write access; type: i
PEL mask register.
ramdac_rw_state
Optional attribute; read/write access; type: i
RAMDAC read/write state.
pel_addr
Optional attribute; read/write access; type: i
PEL address register.
pel_next_color
Optional attribute; read/write access; type: i
Next color in access to PEL data register (read, green, or blue).
pel_pal
Optional attribute; read/write access; type: [[iii]{256}]
((red, green, blue) ... (red, green, blue)) List of 256 colors, each a tuple of red, green, and blue.
misc_reg
Optional attribute; read/write access; type: i
Miscellaneous output register.
h_cnt
Optional attribute; read/write access; type: i
Horizontal counter (used for generating retrace signals).
v_cnt
Optional attribute; read/write access; type: i
Vertical counter (used for generating retrace signals).
refresh_rate
Optional attribute; read/write access; type: i
Refresh rate (in hertz). Set to 0 to disable screen refresh
text_refresh_rate
Optional attribute; read/write access; type: i
Rate (in hertz) of virtual time that VGA text data is sent to the console. Set to 0 to disable text refresh
refresh_based_on_virtual_time
Optional attribute; read/write access; type: b
If TRUE, then the refresh rate will refresh the screen based on virtual time, otherwise the refresh will be based on real time. Real time is the default.
image
Required attribute; read/write access; type: o
Image object containing the VRAM.
redraw
Pseudo attribute; write-only access; type: a
Forces a complete update when set.
text_page
Pseudo attribute; read-only access; type: n|[s*]
A list representation (one line per element) of the text mode contents.
view_size_x
Pseudo attribute; read-only access; type: i
With of the internal cache.
view_size_y
Pseudo attribute; read-only access; type: i
Height of the internal cache.
dump_charset
Pseudo attribute; read/write access; type: i
Write-only pseudo attribute. A write operation will print the current character map to the console if the vga device is in alpha-numeric mode.
vga_memory
Pseudo attribute; write-only access; type: d
Contains the VGA memory (256 KB of data).
lfb_size
Optional attribute; read/write access; type: i
Linear frame buffer memory size.
direct_map_ram
Required attribute; read/write access; type: o
LFB memory object.
vbe_regs
Optional attribute; read/write access; type: [iiiiiiiiiii]
VBE registers.
display_max_xres
Optional attribute; read/write access; type: i
Max display horizontal resolution. Default 1280.
display_max_yres
Optional attribute; read/write access; type: i
Max display vertical resolution. Default 1024.
lfb_uses_bar
Optional attribute; read/write access; type: b
If true, the LFB is controlled through the first base address register.
bochs_wrkrnd_enab
Optional attribute; read/write access; type: b
This attribute enables workaround for bochs driver bug found in rhel 7.1
vbe_default
Optional attribute; read/write access; type: [iiib]
VBE configuration after reset [Width, Height, Depth, Enable]
pci_vendor_id
Pseudo attribute; read/write access; type: i
PCI Vendor ID. Default is 0x4321.

Provided By

accel-vga
TSB12LV26 agent_handle