RTEMS CPU Kit with SuperCore  4.11.3
console.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 1989-2011.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_CONSOLE_H
20 #define _RTEMS_CONSOLE_H
21 
22 #include <rtems/io.h> /* rtems_device_driver */
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
32 #define CONSOLE_DEVICE_NAME "/dev/console"
33 
38 #define CONSOLE_DRIVER_TABLE_ENTRY \
39  { console_initialize, console_open, console_close, \
40  console_read, console_write, console_control }
41 
54  rtems_device_major_number major,
55  rtems_device_minor_number minor,
56  void *arg
57 );
58 
72  rtems_device_major_number major,
73  rtems_device_minor_number minor,
74  void *arg
75 );
76 
90  rtems_device_major_number major,
91  rtems_device_minor_number minor,
92  void *arg
93 );
94 
108  rtems_device_major_number major,
109  rtems_device_minor_number minor,
110  void *arg
111 );
112 
126  rtems_device_major_number major,
127  rtems_device_minor_number minor,
128  void *arg
129 );
130 
145  rtems_device_major_number major,
146  rtems_device_minor_number minor,
147  void *arg
148 );
149 
150 #ifdef __cplusplus
151 }
152 #endif
153 
154 #endif
155 /* end of include file */
rtems_device_driver console_control(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Console IO control entry point.
Classic Input/Output Manager API.
rtems_device_driver console_write(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Console write entry point.
rtems_status_code
Classic API Status.
Definition: status.h:46
rtems_device_driver console_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Console initialization entry point.
rtems_device_driver console_close(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Console close entry point.
rtems_device_driver console_read(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Console read entry point.
rtems_device_driver console_open(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Console open entry point.