source: rtems/c/src/lib/include/console.h @ 55951bc

4.104.114.84.95
Last change on this file since 55951bc was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*  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-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#ifndef _CONSOLE_DRIVER_h
18#define _CONSOLE_DRIVER_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#define CONSOLE_DRIVER_TABLE_ENTRY \
25  { console_initialize, console_open, console_close, \
26    console_read, console_write, console_control }
27
28void console_reserve_resources(
29  rtems_configuration_table *configuration
30);
31
32rtems_device_driver console_initialize(
33  rtems_device_major_number,
34  rtems_device_minor_number,
35  void *
36);
37
38rtems_device_driver console_open(
39  rtems_device_major_number,
40  rtems_device_minor_number,
41  void *
42);
43
44rtems_device_driver console_close(
45  rtems_device_major_number,
46  rtems_device_minor_number,
47  void *
48);
49
50rtems_device_driver console_read(
51  rtems_device_major_number,
52  rtems_device_minor_number,
53  void *
54);
55
56rtems_device_driver console_write(
57  rtems_device_major_number,
58  rtems_device_minor_number,
59  void *
60);
61
62rtems_device_driver console_control(
63  rtems_device_major_number,
64  rtems_device_minor_number,
65  void *
66);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif
73/* end of include file */
Note: See TracBrowser for help on using the repository browser.