source: rtems/c/src/lib/include/console.h @ 476b632

4.104.114.84.95
Last change on this file since 476b632 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 1.3 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-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 *  $Id$
14 */
15
16#ifndef _CONSOLE_DRIVER_h
17#define _CONSOLE_DRIVER_h
18
19#ifdef __cplusplus
20extern "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
27rtems_device_driver console_initialize(
28  rtems_device_major_number,
29  rtems_device_minor_number,
30  void *
31);
32
33rtems_device_driver console_open(
34  rtems_device_major_number,
35  rtems_device_minor_number,
36  void *
37);
38
39rtems_device_driver console_close(
40  rtems_device_major_number,
41  rtems_device_minor_number,
42  void *
43);
44
45rtems_device_driver console_read(
46  rtems_device_major_number,
47  rtems_device_minor_number,
48  void *
49);
50
51rtems_device_driver console_write(
52  rtems_device_major_number,
53  rtems_device_minor_number,
54  void *
55);
56
57rtems_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 */
Note: See TracBrowser for help on using the repository browser.