Changeset 019fd4b in rtems


Ignore:
Timestamp:
Jul 27, 2010, 3:55:07 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
1102485c
Parents:
8a51913f
Message:

2010-07-27 Gedare Bloom <giddyup44@…>

PR 1634/bsps

  • shared/console/conscfg.c: Add BSP_poll_char.
Location:
c/src/lib/libbsp/sparc64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc64/ChangeLog

    r8a51913f r019fd4b  
     12010-07-27  Gedare Bloom <giddyup44@yahoo.com>
     2
     3        PR 1634/bsps
     4        * shared/console/conscfg.c: Add BSP_poll_char.
     5
    162010-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/sparc64/shared/console/conscfg.c

    r8a51913f r019fd4b  
    114114BSP_output_char_function_type BSP_output_char = bsp_out_char;
    115115
     116static int bsp_in_char( void ){
     117        int tmp;
     118        ofw_read( &tmp, 1 ); /* blocks */
     119        if( tmp != 0 ) {
     120                return tmp>>24;
     121        }
     122        return -1;
     123}
     124
     125BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char;
     126
Note: See TracChangeset for help on using the changeset viewer.