source: rtems/c/src/lib/include/bspIo.h @ ad9e0071

4.104.114.84.95
Last change on this file since ad9e0071 was 1bce637, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 16:37:04

Added printk as a generic, shared routine.

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