source: rtems/c/src/lib/include/console.h @ 4e36a2f

4.104.114.84.95
Last change on this file since 4e36a2f was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[ac7d5ef0]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 *
[08311cc3]6 *  COPYRIGHT (c) 1989-1999.
[ac7d5ef0]7 *  On-Line Applications Research Corporation (OAR).
8 *
[98e4ebf5]9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
[03f2154e]11 *  http://www.OARcorp.com/rtems/license.html.
[ac7d5ef0]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 \
[3a4ae6c]24  { console_initialize, console_open, console_close, \
25    console_read, console_write, console_control }
[ac7d5ef0]26
[b628637]27void console_reserve_resources(
28  rtems_configuration_table *configuration
29);
30
[ac7d5ef0]31rtems_device_driver console_initialize(
32  rtems_device_major_number,
33  rtems_device_minor_number,
[3a4ae6c]34  void *
35);
36
37rtems_device_driver console_open(
38  rtems_device_major_number,
39  rtems_device_minor_number,
40  void *
41);
42
43rtems_device_driver console_close(
44  rtems_device_major_number,
45  rtems_device_minor_number,
46  void *
47);
48
49rtems_device_driver console_read(
50  rtems_device_major_number,
51  rtems_device_minor_number,
52  void *
53);
54
55rtems_device_driver console_write(
56  rtems_device_major_number,
57  rtems_device_minor_number,
58  void *
59);
60
61rtems_device_driver console_control(
62  rtems_device_major_number,
63  rtems_device_minor_number,
64  void *
[ac7d5ef0]65);
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif
72/* end of include file */
Note: See TracBrowser for help on using the repository browser.