hal hunt
Simics Reference Manual  /  4 Components  / 

host_serial_console_comp

Description

The "host_serial_console_comp" component represents serial console accessible from the host as a virtual serial port. On Windows a COM port is used and on Linux a pty (pseudo-terminal). The name of an existing port can be supplied when the console is created. Then this port will be used, and no pseudo port is opened.

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

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.
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.
port
Optional attribute; read/write access; type: s|n
Existing port (COM port on Windows and a tty on Linux) to connect to. On Linux the argument is optional and a pseudo port is created if it is left out.
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
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
Set to TRUE for top-level components, i.e. the root of a hierarchy.

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

std-comp
hal hunt