source: rtems/c/src/lib/libcpu/sh/sh7032/include/null.h @ 08311cc3

4.104.114.84.95
Last change on this file since 08311cc3 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*  null.h
2 *
3 *  Null device driver, derived from rtems' stub driver.
4 *
5 *  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
6 *
7 *  COPYRIGHT (c) 1989-1999.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#ifndef __NULL_DRIVER_h
18#define __NULL_DRIVER_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#define DEVNULL_DRIVER_TABLE_ENTRY \
25  { null_initialize, null_open, null_close, null_read, \
26    null_write, null_control }
27
28#define NULL_SUCCESSFUL RTEMS_SUCCESSFUL
29
30rtems_device_driver null_initialize(
31  rtems_device_major_number,
32  rtems_device_minor_number,
33  void *
34);
35
36rtems_device_driver null_open(
37  rtems_device_major_number,
38  rtems_device_minor_number,
39  void *
40);
41
42rtems_device_driver null_close(
43  rtems_device_major_number,
44  rtems_device_minor_number,
45  void *
46);
47
48rtems_device_driver null_read(
49  rtems_device_major_number,
50  rtems_device_minor_number,
51  void *
52);
53
54rtems_device_driver null_write(
55  rtems_device_major_number,
56  rtems_device_minor_number,
57  void *
58);
59
60rtems_device_driver null_control(
61  rtems_device_major_number,
62  rtems_device_minor_number,
63  void *
64);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif
71/* end of include file */
Note: See TracBrowser for help on using the repository browser.