1 | /* stubdrv.h |
---|
2 | * |
---|
3 | * This file describes the Stub Driver for all boards. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1997. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * Copyright assigned to U.S. Government, 1994. |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may in |
---|
10 | * the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | #ifndef __STUB_DRIVER_h |
---|
17 | #define __STUB_DRIVER_h |
---|
18 | |
---|
19 | #ifdef __cplusplus |
---|
20 | extern "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 | |
---|
28 | rtems_device_driver Stub_initialize( |
---|
29 | rtems_device_major_number, |
---|
30 | rtems_device_minor_number, |
---|
31 | void * |
---|
32 | ); |
---|
33 | |
---|
34 | rtems_device_driver Stub_open( |
---|
35 | rtems_device_major_number, |
---|
36 | rtems_device_minor_number, |
---|
37 | void * |
---|
38 | ); |
---|
39 | |
---|
40 | rtems_device_driver Stub_close( |
---|
41 | rtems_device_major_number, |
---|
42 | rtems_device_minor_number, |
---|
43 | void * |
---|
44 | ); |
---|
45 | |
---|
46 | rtems_device_driver Stub_read( |
---|
47 | rtems_device_major_number, |
---|
48 | rtems_device_minor_number, |
---|
49 | void * |
---|
50 | ); |
---|
51 | |
---|
52 | rtems_device_driver Stub_write( |
---|
53 | rtems_device_major_number, |
---|
54 | rtems_device_minor_number, |
---|
55 | void * |
---|
56 | ); |
---|
57 | |
---|
58 | rtems_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 */ |
---|