text_graphics_console_comp tyler_durden
Simics Reference Manual  /  4 Components  / 

txt_console_comp

Description

Simics text console.

Interfaces Implemented

conf_object, log_object, component, component_connector

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.

Connectors

Name Type Direction
serial serial up

Commands for this class

Commands for interface component

Attributes

bg_color
Optional attribute; read/write access; type: s
The default background color, either by name ("red") or on the form #RRGGBB.
component_queue
Pseudo attribute; read/write access; type: a
The queue object for this component. It is only used as a placeholder for the real queue object before the component is instantiated. It can point to an instantiated cycle object or a pre_conf object.
components
Optional attribute; read/write access; type: [o*]
This attribute is only valid for top-level components. List of components below the top-level component. This attribute is not valid until the object has been instantiated.
cpu_list
Pseudo attribute; read/write access; type: [o*]
A list of all processors that belong to the component. This attribute is not valid until the object has been instantiated. This attribute is only used in top-level components and other components that are used as software domains.
domain
Optional attribute; read/write access; type: o|n
This attribute is only valid for top-level components. Domain to put the component in.
dynamic_slots
Pseudo attribute; read/write access; type: D|n
Do not use. Kept for checkpoint compatibility.
fg_color
Optional attribute; read/write access; type: s
The default foreground color, either by name ("blue") or on the form #RRGGBB.
has_user_defined_title
Optional attribute; read/write access; type: b
return True if current title is set by users.
height
Optional attribute; read/write access; type: i
The height of the console window.
instantiated
Optional attribute; read/write access; type: b
Set to TRUE if the component has been instantiated.
machine_icon
Optional attribute; read/write access; type: s|n
This attribute is only valid for top-level components. An instance of a top-level component may override the default system_icon with its own icon. This attribute is the name of an 80x80 pixel large icon in PNG format that should reside in the [host]/lib/images/ directory of the Simics installation or the project.
object_list
Pseudo attribute; read-only access; type: D|n
Dictionary with the instantiated objects that the component consists of.
object_prefix
Optional attribute; read/write access; type: s
Object prefix string used by the component.
pending_cell_object_factories
Optional attribute; read/write access; type: [[ss]*]
Internal attribute for pending cell objects factories.
pty
Pseudo attribute; read/write access; type: s|n
Existing pty to open a host-serial server on. This is independent of the visible parameter. If the port cannot be opened, an error is thrown. If this parameter is the empty string, a new port is created and opened.
scrollback
Optional attribute; read/write access; type: i
The maximum number of scrollback lines.
static_slots
Pseudo attribute; read/write access; type: D|n
Do not use. Kept for checkpoint compatibility.
system_info
Optional attribute; read/write access; type: s|n
This attribute is only valid for top-level components. A short single-line description of the current configuration of the system that the component is a top-level of. The line may include the Linux name of the simulated machine, the installed operating system, or similar information. For example Tango - Fedora Core 5 Linux
telnet_port
Optional attribute; read/write access; type: i|n
Port to open a telnet server on. This is independent of the visible parameter. The port must not be a privileged port, i.e. the allowed range is [1024, 65535], or 0 for an arbitrary port. If the port cannot be opened, an arbitrary port is chosen instead.
title
Optional attribute; read/write access; type: s
The Window title.
top_component
Optional attribute; read/write access; type: o|n
The top level component. Attribute is not valid until the component has been instantiated.
top_level
Optional attribute; read/write access; type: b
visible
Optional attribute; read/write access; type: b|n
Should console be visible upon startup?.
width
Optional attribute; read/write access; type: i
The width of the console window.

Class Attributes

basename
Pseudo attribute; read/write access; type: s|n
component_icon
Pseudo attribute; read/write access; type: s|n
config_attributes
Pseudo attribute; read/write access; type: [[s[a*]]*]
system_icon
Pseudo attribute; read-only access; type: s|n

Provided By

console-components
text_graphics_console_comp tyler_durden