1 | /* ipl.h |
---|
2 | * |
---|
3 | * IPL console driver |
---|
4 | * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
---|
5 | * Author: Victor V. Vengerov <vvv@oktet.ru> |
---|
6 | * |
---|
7 | * Based on work: |
---|
8 | * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) |
---|
9 | * |
---|
10 | * COPYRIGHT (c) 1989-1998. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * Copyright assigned to U.S. Government, 1994. |
---|
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.OARcorp.com/rtems/license.html. |
---|
17 | * |
---|
18 | * $Id$ |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef __IPL_DRIVER_h |
---|
22 | #define __IPL_DRIVER_h |
---|
23 | |
---|
24 | #ifdef __cplusplus |
---|
25 | extern "C" { |
---|
26 | #endif |
---|
27 | |
---|
28 | #define IPL_DRIVER_TABLE_ENTRY \ |
---|
29 | { ipl_console_initialize, ipl_console_open, ipl_console_close, \ |
---|
30 | ipl_console_read, ipl_console_write, ipl_console_control } |
---|
31 | |
---|
32 | |
---|
33 | #define NULL_SUCCESSFUL RTEMS_SUCCESSFUL |
---|
34 | |
---|
35 | rtems_device_driver ipl_console_initialize( |
---|
36 | rtems_device_major_number, |
---|
37 | rtems_device_minor_number, |
---|
38 | void * |
---|
39 | ); |
---|
40 | |
---|
41 | rtems_device_driver ipl_console_open( |
---|
42 | rtems_device_major_number, |
---|
43 | rtems_device_minor_number, |
---|
44 | void * |
---|
45 | ); |
---|
46 | |
---|
47 | rtems_device_driver ipl_console_close( |
---|
48 | rtems_device_major_number, |
---|
49 | rtems_device_minor_number, |
---|
50 | void * |
---|
51 | ); |
---|
52 | |
---|
53 | rtems_device_driver ipl_console_read( |
---|
54 | rtems_device_major_number, |
---|
55 | rtems_device_minor_number, |
---|
56 | void * |
---|
57 | ); |
---|
58 | |
---|
59 | rtems_device_driver ipl_console_write( |
---|
60 | rtems_device_major_number, |
---|
61 | rtems_device_minor_number, |
---|
62 | void * |
---|
63 | ); |
---|
64 | |
---|
65 | rtems_device_driver ipl_console_control( |
---|
66 | rtems_device_major_number, |
---|
67 | rtems_device_minor_number, |
---|
68 | void * |
---|
69 | ); |
---|
70 | |
---|
71 | #ifdef __cplusplus |
---|
72 | } |
---|
73 | #endif |
---|
74 | |
---|
75 | #endif |
---|
76 | /* end of include file */ |
---|