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 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.com/license/LICENSE. |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | #ifndef __IPL_DRIVER_h |
---|
21 | #define __IPL_DRIVER_h |
---|
22 | |
---|
23 | #ifdef __cplusplus |
---|
24 | extern "C" { |
---|
25 | #endif |
---|
26 | |
---|
27 | #define IPL_DRIVER_TABLE_ENTRY \ |
---|
28 | { ipl_console_initialize, ipl_console_open, ipl_console_close, \ |
---|
29 | ipl_console_read, ipl_console_write, ipl_console_control } |
---|
30 | |
---|
31 | |
---|
32 | #define NULL_SUCCESSFUL RTEMS_SUCCESSFUL |
---|
33 | |
---|
34 | rtems_device_driver ipl_console_initialize( |
---|
35 | rtems_device_major_number, |
---|
36 | rtems_device_minor_number, |
---|
37 | void * |
---|
38 | ); |
---|
39 | |
---|
40 | rtems_device_driver ipl_console_open( |
---|
41 | rtems_device_major_number, |
---|
42 | rtems_device_minor_number, |
---|
43 | void * |
---|
44 | ); |
---|
45 | |
---|
46 | rtems_device_driver ipl_console_close( |
---|
47 | rtems_device_major_number, |
---|
48 | rtems_device_minor_number, |
---|
49 | void * |
---|
50 | ); |
---|
51 | |
---|
52 | rtems_device_driver ipl_console_read( |
---|
53 | rtems_device_major_number, |
---|
54 | rtems_device_minor_number, |
---|
55 | void * |
---|
56 | ); |
---|
57 | |
---|
58 | rtems_device_driver ipl_console_write( |
---|
59 | rtems_device_major_number, |
---|
60 | rtems_device_minor_number, |
---|
61 | void * |
---|
62 | ); |
---|
63 | |
---|
64 | rtems_device_driver ipl_console_control( |
---|
65 | rtems_device_major_number, |
---|
66 | rtems_device_minor_number, |
---|
67 | void * |
---|
68 | ); |
---|
69 | |
---|
70 | #ifdef __cplusplus |
---|
71 | } |
---|
72 | #endif |
---|
73 | |
---|
74 | #endif |
---|
75 | /* end of include file */ |
---|