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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [lib/] [include/] [console.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*  console.h
2
 *
3
 *  This file describes the Console Device Driver for all boards.
4
 *  This driver provides support for the standard C Library.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13 208 chris
 *  $Id: console.h,v 1.2 2001-09-27 11:59:35 chris Exp $
14 158 chris
 */
15
 
16
#ifndef _CONSOLE_DRIVER_h
17
#define _CONSOLE_DRIVER_h
18
 
19
#ifdef __cplusplus
20
extern "C" {
21
#endif
22
 
23
#define CONSOLE_DRIVER_TABLE_ENTRY \
24
  { console_initialize, console_open, console_close, \
25
    console_read, console_write, console_control }
26
 
27
rtems_device_driver console_initialize(
28
  rtems_device_major_number,
29
  rtems_device_minor_number,
30
  void *
31
);
32
 
33
rtems_device_driver console_open(
34
  rtems_device_major_number,
35
  rtems_device_minor_number,
36
  void *
37
);
38
 
39
rtems_device_driver console_close(
40
  rtems_device_major_number,
41
  rtems_device_minor_number,
42
  void *
43
);
44
 
45
rtems_device_driver console_read(
46
  rtems_device_major_number,
47
  rtems_device_minor_number,
48
  void *
49
);
50
 
51
rtems_device_driver console_write(
52
  rtems_device_major_number,
53
  rtems_device_minor_number,
54
  void *
55
);
56
 
57
rtems_device_driver console_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.