2014-04-18 11:05:18 -05:00
|
|
|
/**
|
|
|
|
|
* @file
|
|
|
|
|
* @brief Stub printk() support
|
2007-04-02 11:15:58 +00:00
|
|
|
*
|
2014-04-18 11:05:18 -05:00
|
|
|
* This file contains a stub for the required printk() support.
|
|
|
|
|
* It is NOT functional!!!
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* COPYRIGHT (c) 1989-2014.
|
2007-04-02 11:15:58 +00:00
|
|
|
* On-Line Applications Research Corporation (OAR).
|
|
|
|
|
*
|
|
|
|
|
* The license and distribution terms for this file may be
|
|
|
|
|
* found in the file LICENSE in this distribution or at
|
2014-03-21 08:10:47 +11:00
|
|
|
* http://www.rtems.org/license/LICENSE.
|
2007-04-02 11:15:58 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* To support printk
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <rtems.h>
|
|
|
|
|
#include <rtems/bspIo.h>
|
|
|
|
|
|
2014-10-11 19:10:17 -05:00
|
|
|
static void BSP_output_char_f(char c)
|
2007-04-02 11:15:58 +00:00
|
|
|
{
|
|
|
|
|
/* the character just needs to disappear */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
BSP_output_char_function_type BSP_output_char = BSP_output_char_f;
|
|
|
|
|
BSP_polling_getchar_function_type BSP_poll_char = NULL;
|