diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-06 15:34:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-06 15:34:58 +0000 |
commit | f752c246fad2fb79d0a5a348e8774f9c90e92915 (patch) | |
tree | 84bcae089ccd1c691f1f405d46640c47124b5fee /c | |
parent | 2007-09-06 Daniel Hellstrom <daniel@gaisler.com> (diff) | |
download | rtems-f752c246fad2fb79d0a5a348e8774f9c90e92915.tar.bz2 |
2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c: Add missing include file.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/console/debugputs.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/ChangeLog b/c/src/lib/libbsp/sparc/leon3/ChangeLog index 197e0c03c5..10a39e2423 100644 --- a/c/src/lib/libbsp/sparc/leon3/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon3/ChangeLog @@ -1,3 +1,7 @@ +2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com> + + * console/debugputs.c: Add missing include file. + 2007-09-06 Daniel Hellstrom <daniel@gaisler.com> * amba/amba.c: Add missing part of previous patch. diff --git a/c/src/lib/libbsp/sparc/leon3/console/debugputs.c b/c/src/lib/libbsp/sparc/leon3/console/debugputs.c index 255867bc95..ef51f3b214 100644 --- a/c/src/lib/libbsp/sparc/leon3/console/debugputs.c +++ b/c/src/lib/libbsp/sparc/leon3/console/debugputs.c @@ -77,6 +77,12 @@ static void bsp_out_char(char c) console_outbyte_polled(0, c); } +/* + * To support printk + */ + +#include <rtems/bspIo.h> + BSP_output_char_function_type BSP_output_char = bsp_out_char; static char bsp_in_char(void) |