OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [include/] [rtems/] [bspIo.h] - Blame information for rev 1779

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/* 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.OARcorp.com/rtems/license.html.
11
 *
12
 *  bspIo.h,v 1.2 2002/04/08 18:27:53 joel Exp
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
extern void printk(char *fmt, ...);
36
 
37
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.