RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ipl.h
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.org/license/LICENSE.
16 */
17
18#ifndef __IPL_DRIVER_h
19#define __IPL_DRIVER_h
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#define IPL_DRIVER_TABLE_ENTRY \
26 { ipl_console_initialize, ipl_console_open, ipl_console_close, \
27 ipl_console_read, ipl_console_write, ipl_console_control }
28
29
30#define NULL_SUCCESSFUL RTEMS_SUCCESSFUL
31
32rtems_device_driver ipl_console_initialize(
33 rtems_device_major_number,
34 rtems_device_minor_number,
35 void *
36);
37
38rtems_device_driver ipl_console_open(
39 rtems_device_major_number,
40 rtems_device_minor_number,
41 void *
42);
43
44rtems_device_driver ipl_console_close(
45 rtems_device_major_number,
46 rtems_device_minor_number,
47 void *
48);
49
50rtems_device_driver ipl_console_read(
51 rtems_device_major_number,
52 rtems_device_minor_number,
53 void *
54);
55
56rtems_device_driver ipl_console_write(
57 rtems_device_major_number,
58 rtems_device_minor_number,
59 void *
60);
61
62rtems_device_driver ipl_console_control(
63 rtems_device_major_number,
64 rtems_device_minor_number,
65 void *
66);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif
73/* end of include file */
rtems_status_code
Classic API Status.
Definition: status.h:43