source: rtems/c/src/tests/support/stubdr/stubdrv.h @ 7c22114b

4.104.114.84.95
Last change on this file since 7c22114b was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*  stubdrv.h
2 *
3 *  This file describes the Stub Driver for all boards.
4 *
5 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
12 *
13 *  $Id$
14 */
15
16#ifndef __STUB_DRIVER_h
17#define __STUB_DRIVER_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#define STUB_DRIVER_TABLE_ENTRY \
24  { Stub_initialize, NULL, NULL, NULL, NULL, NULL }
25
26#define STUB_SUCCESSFUL RTEMS_SUCCESSFUL
27
28rtems_device_driver Stub_initialize(
29  rtems_device_major_number,
30  rtems_device_minor_number,
31  void *,
32  rtems_id,
33  rtems_unsigned32 *
34);
35
36rtems_device_driver Stub_open(
37  rtems_device_major_number,
38  rtems_device_minor_number,
39  void *,
40  rtems_id,
41  rtems_unsigned32 *
42);
43
44rtems_device_driver Stub_close(
45  rtems_device_major_number,
46  rtems_device_minor_number,
47  void *,
48  rtems_id,
49  rtems_unsigned32 *
50);
51
52rtems_device_driver Stub_read(
53  rtems_device_major_number,
54  rtems_device_minor_number,
55  void *,
56  rtems_id,
57  rtems_unsigned32 *
58);
59
60rtems_device_driver Stub_write(
61  rtems_device_major_number,
62  rtems_device_minor_number,
63  void *,
64  rtems_id,
65  rtems_unsigned32 *
66);
67
68rtems_device_driver Stub_control(
69  rtems_device_major_number,
70  rtems_device_minor_number,
71  void *,
72  rtems_id,
73  rtems_unsigned32 *
74);
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif
81/* end of include file */
Note: See TracBrowser for help on using the repository browser.