4.104.114.84.95
Line | |
---|
1 | /* bspIo.h |
---|
2 | * |
---|
3 | * This include file contains declaration of interface that |
---|
4 | * will be provided by the file contained in this directory. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1998 valette@crf.canon.fr |
---|
7 | * |
---|
8 | * The license and distribution terms for this file may be |
---|
9 | * found in found in the file LICENSE in this distribution or at |
---|
10 | * http://www.rtems.com/license/LICENSE. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | #ifndef _RTEMS_BSPIO_H |
---|
15 | #define _RTEMS_BSPIO_H |
---|
16 | |
---|
17 | /* |
---|
18 | * All the functions declared as extern after this comment |
---|
19 | * MUST be implemented in each BSP. Using this function, |
---|
20 | * this directory contains shared code that export higher level |
---|
21 | * functionnality described after the next command. |
---|
22 | */ |
---|
23 | typedef void (*BSP_output_char_function_type) (char c); |
---|
24 | typedef char (*BSP_polling_getchar_function_type) (void); |
---|
25 | |
---|
26 | extern BSP_output_char_function_type BSP_output_char; |
---|
27 | extern BSP_polling_getchar_function_type BSP_poll_char; |
---|
28 | |
---|
29 | /* |
---|
30 | * All the function declared as extern after this comment |
---|
31 | * are available for each BSP by compiling and linking |
---|
32 | * the files contained in this directory PROVIDED definition |
---|
33 | * and initialisation of the previous variable are done. |
---|
34 | */ |
---|
35 | #include <stdarg.h> |
---|
36 | extern void vprintk(char *fmt, va_list ap); |
---|
37 | extern void printk(char *fmt, ...); |
---|
38 | |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.