RTEMS 6.1-rc5
|
Console Driver for all Boards. More...
#include <rtems/io.h>
Go to the source code of this file.
Macros | |
#define | CONSOLE_DEVICE_NAME "/dev/console" |
#define | CONSOLE_DRIVER_TABLE_ENTRY |
Console Driver for all Boards.
This file describes the Console Device Driver for all boards. This driver provides support for the standard C Library.
#define CONSOLE_DEVICE_NAME "/dev/console" |
This macro defines the standard name for the console device that is available to applications.
#define CONSOLE_DRIVER_TABLE_ENTRY |
This macro defines the standard device driver table entry for a console device driver.
void _Console_simple_Initialize | ( | void | ) |
Initializes a simple console device.
See CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER documentation in the "RTEMS Classic API Guide".
void _Console_simple_task_Initialize | ( | void | ) |
Initializes a simple task console device.
See CONFIGURE_APPLICATION_NEEDS_SIMPLE_TASK_CONSOLE_DRIVER documentation in the "RTEMS Classic API Guide".
rtems_device_driver console_close | ( | rtems_device_major_number | major, |
rtems_device_minor_number | minor, | ||
void * | arg | ||
) |
Console close entry point.
This method closes a specific device supported by the console device driver.
[in] | major | is the device driver major number |
[in] | minor | is the device driver minor number |
[in] | arg | is the parameters to this call |
RTEMS_SUCCESSFUL | The device driver is successfully closed. |
rtems_device_driver console_control | ( | rtems_device_major_number | major, |
rtems_device_minor_number | minor, | ||
void * | arg | ||
) |
Console IO control entry point.
This method performs an IO Control operation on a specific device supported by the console device driver.
[in] | major | is the device driver major number |
[in] | minor | is the device driver minor number |
[in] | arg | is the parameters to this call |
RTEMS_SUCCESSFUL | the device driver IO control operation is successfully performed. |
rtems_device_driver console_initialize | ( | rtems_device_major_number | major, |
rtems_device_minor_number | minor, | ||
void * | arg | ||
) |
Console initialization entry point.
This method initializes the console device driver.
[in] | major | is the device driver major number. |
[in] | minor | is the device driver minor number. |
[in] | arg | is the parameters to this call. |
RTEMS_SUCCESSFUL | The device driver is successfully initialized. |
Console initialization entry point.
Initialize all serial drivers specified in driver_context_table
[in] | major | |
[in] | minor | |
[in] | arg |
RTEMS_SUCCESSFUL | Initialization completed |
This routine initializes the console IO driver.
Parameters
major | major number |
minor | minor number |
Output parameters: NONE
rtems_device_driver console_open | ( | rtems_device_major_number | major, |
rtems_device_minor_number | minor, | ||
void * | arg | ||
) |
Console open entry point.
This method opens a specific device supported by the console device driver.
[in] | major | is the device driver major number |
[in] | minor | is the device driver minor number |
[in] | arg | is the parameters to this call |
RTEMS_SUCCESSFUL | The device driver is successfully opened. |
rtems_device_driver console_read | ( | rtems_device_major_number | major, |
rtems_device_minor_number | minor, | ||
void * | arg | ||
) |
Console read entry point.
This method reads from a specific device supported by the console device driver.
[in] | major | is the device driver major number |
[in] | minor | is the device driver minor number |
[in] | arg | is the parameters to this call |
RTEMS_SUCCESSFUL | The device is successfully read from. |
rtems_device_driver console_write | ( | rtems_device_major_number | major, |
rtems_device_minor_number | minor, | ||
void * | arg | ||
) |
Console write entry point.
This method writes to a specific device supported by the console device driver.
[in] | major | is the device driver major number |
[in] | minor | is the device driver minor number |
[in] | arg | is the parameters to this call |
RTEMS_SUCCESSFUL | The device is successfully written. |