source: rtems/cpukit/include/rtems/bspIo.h @ 048dcd2

4.104.114.84.95
Last change on this file since 048dcd2 was 09fd8ce5, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 4, 2003 at 7:00:04 PM

2003-09-04 Joel Sherrill <joel@…>

  • include/rtems/bspIo.h, include/rtems/fs.h, include/rtems/userenv.h: URL for license changed.
  • 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.