source: rtems/c/src/tests/support/stubdr/stubdrv.h @ 5c491aef

4.104.114.84.95
Last change on this file since 5c491aef was b06e68ef, checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/95 at 19:51:51

Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@…) including the following major additions:

+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables

  • Property mode set to 100644
File size: 1.3 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);
33
34rtems_device_driver Stub_open(
35  rtems_device_major_number,
36  rtems_device_minor_number,
37  void *
38);
39
40rtems_device_driver Stub_close(
41  rtems_device_major_number,
42  rtems_device_minor_number,
43  void *
44);
45
46rtems_device_driver Stub_read(
47  rtems_device_major_number,
48  rtems_device_minor_number,
49  void *
50);
51
52rtems_device_driver Stub_write(
53  rtems_device_major_number,
54  rtems_device_minor_number,
55  void *
56);
57
58rtems_device_driver Stub_control(
59  rtems_device_major_number,
60  rtems_device_minor_number,
61  void *
62);
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif
69/* end of include file */
Note: See TracBrowser for help on using the repository browser.