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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [support/] [stubdr/] [stubdrv.h] - Blame information for rev 389

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

Line No. Rev Author Line
1 30 unneback
/*  stubdrv.h
2
 *
3
 *  This file describes the Stub Driver for all boards.
4
 *
5
 *  COPYRIGHT (c) 1989-1999.
6
 *  On-Line Applications Research Corporation (OAR).
7
 *
8
 *  The license and distribution terms for this file may be
9
 *  found in the file LICENSE in this distribution or at
10
 *  http://www.OARcorp.com/rtems/license.html.
11
 *
12
 *  $Id: stubdrv.h,v 1.2 2001-09-27 12:02:38 chris Exp $
13
 */
14
 
15
#ifndef __STUB_DRIVER_h
16
#define __STUB_DRIVER_h
17
 
18
#ifdef __cplusplus
19
extern "C" {
20
#endif
21
 
22
#define STUB_DRIVER_TABLE_ENTRY \
23
  { Stub_initialize, NULL, NULL, NULL, NULL, NULL }
24
 
25
#define STUB_SUCCESSFUL RTEMS_SUCCESSFUL
26
 
27
rtems_device_driver Stub_initialize(
28
  rtems_device_major_number,
29
  rtems_device_minor_number,
30
  void *
31
);
32
 
33
rtems_device_driver Stub_open(
34
  rtems_device_major_number,
35
  rtems_device_minor_number,
36
  void *
37
);
38
 
39
rtems_device_driver Stub_close(
40
  rtems_device_major_number,
41
  rtems_device_minor_number,
42
  void *
43
);
44
 
45
rtems_device_driver Stub_read(
46
  rtems_device_major_number,
47
  rtems_device_minor_number,
48
  void *
49
);
50
 
51
rtems_device_driver Stub_write(
52
  rtems_device_major_number,
53
  rtems_device_minor_number,
54
  void *
55
);
56
 
57
rtems_device_driver Stub_control(
58
  rtems_device_major_number,
59
  rtems_device_minor_number,
60
  void *
61
);
62
 
63
#ifdef __cplusplus
64
}
65
#endif
66
 
67
#endif
68
/* end of include file */

powered by: WebSVN 2.1.0

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