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