Changeset be50969 in rtems


Ignore:
Timestamp:
Apr 12, 2019, 12:37:05 PM (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b36c5209
Parents:
ef9d20f
git-author:
Sebastian Huber <sebastian.huber@…> (04/12/19 12:37:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/12/19 12:38:06)
Message:

bsp/motorola_powerpc: Fix debug output

Update #3122.

Location:
bsps/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/include/bsp/consoleIo.h

    ref9d20f rbe50969  
    3030extern int select_console(ioType t);
    3131/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
    32 extern void debug_putc(const unsigned char c);
     32extern void debug_putc(const char c);
    3333extern void debug_putc_onlcr(const char c);
    3434extern int debug_getc(void);
  • bsps/powerpc/motorola_powerpc/console/polled_io.c

    ref9d20f rbe50969  
    5050
    5151#ifndef __BOOT__
    52 BSP_output_char_function_type     BSP_output_char = debug_putc_onlcr;
     52BSP_output_char_function_type     BSP_output_char = debug_putc;
    5353BSP_polling_getchar_function_type BSP_poll_char = NULL;
    5454#endif
     
    421421extern console_io* curIo;
    422422
    423 void debug_putc(const u_char c)
     423void debug_putc(const char c)
    424424{
    425425  curIo->console_io_putc(c);
     
    527527
    528528        while ( ( c = *s++ ) != '\0' ) {
    529                                 rtems_putc(c);
     529                                debug_putc_onlcr(c);
    530530        }
    531531}
Note: See TracChangeset for help on using the changeset viewer.