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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i386/] [shared/] [io/] [bspIo.h] - Blame information for rev 602

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

Line No. Rev Author Line
1 30 unneback
/* 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: bspIo.h,v 1.2 2001-09-27 11:59:49 chris Exp $
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
 */
24
typedef void    (*BSP_output_char_function_type)        (char c);
25
typedef char    (*BSP_polling_getchar_function_type)    (void);
26
 
27
extern  BSP_output_char_function_type           BSP_output_char;
28
extern  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
 */
35
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.