source: rtems/c/src/lib/libbsp/m68k/sim68000/console/debugio.c @ a99d541

4.104.11
Last change on this file since a99d541 was a99d541, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 11, 2010 at 4:34:42 PM

2010-04-11 Ralf Corsépius <ralf.corsepius@…>

  • console/debugio.c: Include <unistd.h>.
  • Property mode set to 100644
File size: 742 bytes
Line 
1/*
2 *  This routine starts the application.  It includes application,
3 *  board, and monitor specific initialization and configuration.
4 *  The generic CPU dependent initialization has been performed
5 *  before this routine is invoked.
6 *
7 *  COPYRIGHT (c) 1989-1999.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 */
16
17#include <unistd.h> /* write */
18
19#include <bsp.h>
20#include <rtems/bspIo.h>
21
22void debug_putc( char c ) { write( 2, &c, 1 ); }
23BSP_output_char_function_type BSP_output_char =  debug_putc;
24BSP_polling_getchar_function_type BSP_poll_char = NULL;
Note: See TracBrowser for help on using the repository browser.