RTEMS 6.1-rc2
Loading...
Searching...
No Matches
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(
35 void *
36);
37
38rtems_device_driver ipl_console_open(
41 void *
42);
43
44rtems_device_driver ipl_console_close(
47 void *
48);
49
50rtems_device_driver ipl_console_read(
53 void *
54);
55
56rtems_device_driver ipl_console_write(
59 void *
60);
61
62rtems_device_driver ipl_console_control(
65 void *
66);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif
73/* end of include file */
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85