OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libcpu/] [sh/] [sh7032/] [include/] [null.h] - Blame information for rev 666

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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: null.h,v 1.2 2001-09-27 12:01:32 chris Exp $
15
 */
16
 
17
#ifndef __NULL_DRIVER_h
18
#define __NULL_DRIVER_h
19
 
20
#ifdef __cplusplus
21
extern "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
 
30
rtems_device_driver null_initialize(
31
  rtems_device_major_number,
32
  rtems_device_minor_number,
33
  void *
34
);
35
 
36
rtems_device_driver null_open(
37
  rtems_device_major_number,
38
  rtems_device_minor_number,
39
  void *
40
);
41
 
42
rtems_device_driver null_close(
43
  rtems_device_major_number,
44
  rtems_device_minor_number,
45
  void *
46
);
47
 
48
rtems_device_driver null_read(
49
  rtems_device_major_number,
50
  rtems_device_minor_number,
51
  void *
52
);
53
 
54
rtems_device_driver null_write(
55
  rtems_device_major_number,
56
  rtems_device_minor_number,
57
  void *
58
);
59
 
60
rtems_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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.