RTEMS
5.0.0
|
Console driver for Termios devices. More...
Data Structures | |
struct | console_device |
Console device information. More... | |
Typedefs | |
typedef bool(* | console_device_probe) (rtems_termios_device_context *context) |
Console device probe function type. More... | |
Functions | |
bool | console_device_probe_default (rtems_termios_device_context *context) |
Returns true and does nothing else. | |
Variables | |
const char * | console_device::device_file |
The device file path. More... | |
console_device_probe | console_device::probe |
The device probe function. | |
const rtems_termios_device_handler * | console_device::handler |
The Termios device handler. | |
const rtems_termios_device_flow * | console_device::flow |
The Termios device flow control handler. | |
rtems_termios_device_context * | console_device::context |
The Termios device context. | |
const console_device | console_device_table [] |
Table for console devices installed via console_initialize() during system initialization. More... | |
const size_t | console_device_count |
Count of entries in the console_device_table. More... | |
Console driver for Termios devices.
In order to use this driver add the following lines to the Makefile.am of the BSP:
Define the console_device_table and console_device_count in the console-config.c file of the BSP.
typedef bool(* console_device_probe) (rtems_termios_device_context *context) |
Console device probe function type.
[in] | context | The Termios device context. |
true | Install this device. |
false | Otherwise. |
const size_t console_device_count |
Count of entries in the console_device_table.
It must be provided by the BSP.
const console_device console_device_table[] |
Table for console devices installed via console_initialize() during system initialization.
It must be provided by the BSP.
const char* console_device::device_file |
The device file path.
The "/dev/console" device will be automatically installed as the first device of console_device_table with a successful probe.