RTEMS: bsps/sh/gensh4/include/rtems/score/ipl.h Source File

| RTEMS 5.4-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
32 rtems_device_driver ipl_console_initialize(
33 rtems_device_major_number,
34 rtems_device_minor_number,
35 void *
36);
37
38 rtems_device_driver ipl_console_open(
39 rtems_device_major_number,
40 rtems_device_minor_number,
41 void *
42);
43
44 rtems_device_driver ipl_console_close(
45 rtems_device_major_number,
46 rtems_device_minor_number,
47 void *
48);
49
50 rtems_device_driver ipl_console_read(
51 rtems_device_major_number,
52 rtems_device_minor_number,
53 void *
54);
55
56 rtems_device_driver ipl_console_write(
57 rtems_device_major_number,
58 rtems_device_minor_number,
59 void *
60);
61
62 rtems_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
rtems_status_code
Classic API Status.
Definition: status.h:43