1 | /* console.h |
---|
2 | * |
---|
3 | * This file describes the Console Device Driver for all boards. |
---|
4 | * This driver provides support for the standard C Library. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1999. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | #ifndef _CONSOLE_DRIVER_h |
---|
17 | #define _CONSOLE_DRIVER_h |
---|
18 | |
---|
19 | #ifdef __cplusplus |
---|
20 | extern "C" { |
---|
21 | #endif |
---|
22 | |
---|
23 | #define CONSOLE_DRIVER_TABLE_ENTRY \ |
---|
24 | { console_initialize, console_open, console_close, \ |
---|
25 | console_read, console_write, console_control } |
---|
26 | |
---|
27 | rtems_device_driver console_initialize( |
---|
28 | rtems_device_major_number, |
---|
29 | rtems_device_minor_number, |
---|
30 | void * |
---|
31 | ); |
---|
32 | |
---|
33 | rtems_device_driver console_open( |
---|
34 | rtems_device_major_number, |
---|
35 | rtems_device_minor_number, |
---|
36 | void * |
---|
37 | ); |
---|
38 | |
---|
39 | rtems_device_driver console_close( |
---|
40 | rtems_device_major_number, |
---|
41 | rtems_device_minor_number, |
---|
42 | void * |
---|
43 | ); |
---|
44 | |
---|
45 | rtems_device_driver console_read( |
---|
46 | rtems_device_major_number, |
---|
47 | rtems_device_minor_number, |
---|
48 | void * |
---|
49 | ); |
---|
50 | |
---|
51 | rtems_device_driver console_write( |
---|
52 | rtems_device_major_number, |
---|
53 | rtems_device_minor_number, |
---|
54 | void * |
---|
55 | ); |
---|
56 | |
---|
57 | rtems_device_driver console_control( |
---|
58 | rtems_device_major_number, |
---|
59 | rtems_device_minor_number, |
---|
60 | void * |
---|
61 | ); |
---|
62 | |
---|
63 | #ifdef __cplusplus |
---|
64 | } |
---|
65 | #endif |
---|
66 | |
---|
67 | #endif |
---|
68 | /* end of include file */ |
---|