source: rtems/c/src/lib/libbsp/arm/shared/io/bspio.h @ 08330bf

4.104.114.84.95
Last change on this file since 08330bf was 08330bf, checked in by Joel Sherrill <joel.sherrill@…>, on 07/27/00 at 01:04:11

Port of RTEMS to the ARM processor family by Eric Valette
<valette@…> and Emmanuel Raguet <raguet@…>
of Canon CRF - Communication Dept. This port includes a
basic BSP that is sufficient to link hello world.

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