source: rtems/cpukit/include/rtems/bspIo.h @ f26145b

4.104.114.84.95
Last change on this file since f26145b was 8ff51798, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/28/05 at 05:14:20

New header guards.

  • Property mode set to 100644
File size: 1.2 KB
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 */
23typedef void    (*BSP_output_char_function_type)        (char c);
24typedef char    (*BSP_polling_getchar_function_type)    (void);
25
26extern  BSP_output_char_function_type           BSP_output_char;
27extern  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>
36extern void vprintk(char *fmt, va_list ap);
37extern void printk(char *fmt, ...);
38
39#endif
Note: See TracBrowser for help on using the repository browser.