Ignore:
Timestamp:
Oct 5, 2005, 7:25:07 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
d2a30c77
Parents:
d490fff
Message:

2005-10-05 Jiri Gaisler <jiri@…>

Edvin Catovic <edvin@…>
Konrad Eisele <konrad@…>

PR 827/bsps

  • ChangeLog?, configure.ac, console/Makefile.am, console/console.c, console/debugputs.c, startup/Makefile.am, startup/linkcmds, tools/Makefile.am: Portion of large update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs, deletion of leon BSP, addition of SMC91111 NIC driver and much more.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/console/console.c

    rd490fff r73c2d23  
    1818#include <stdlib.h>
    1919#include <assert.h>
     20#include <rtems/bspIo.h>
    2021
    2122/*
     
    418419}
    419420
     421/* putchar/getchar for printk */
     422
     423static void bsp_out_char (char c)
     424{
     425  console_outbyte_polled(0, c);
     426}
     427
     428BSP_output_char_function_type BSP_output_char = bsp_out_char;
     429
     430static char bsp_in_char(void)
     431{
     432  int tmp;
     433
     434  while ((tmp = console_inbyte_nonblocking(0)) < 0);
     435  return (char) tmp;
     436}
     437
     438BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char;
     439
     440
Note: See TracChangeset for help on using the changeset viewer.