Changeset 6de4727f in rtems


Ignore:
Timestamp:
Apr 23, 2001, 1:19:35 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f077f332
Parents:
d8a9155
Message:

2000-04-23 Jiri Gaisler <jiri@…>

  • console/debugputs.c: Switched to unsigned characters.
Location:
c/src/lib/libbsp/sparc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/ChangeLog

    rd8a9155 r6de4727f  
     12000-04-23      Jiri Gaisler <jiri@gaisler.com>
     2
     3        * console/debugputs.c: Switched to unsigned characters.
     4
    152000-12-06      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/lib/libbsp/sparc/erc32/console/debugputs.c

    rd8a9155 r6de4727f  
    2727void console_outbyte_polled(
    2828  int  port,
    29   char ch
     29  unsigned char ch
    3030)
    3131{
    3232  if ( port == 0 ) {
    3333    while ( (ERC32_MEC.UART_Status & ERC32_MEC_UART_STATUS_THEA) == 0 );
    34     ERC32_MEC.UART_Channel_A = (int) ch;
     34    ERC32_MEC.UART_Channel_A = (unsigned int) ch;
    3535    return;
    3636  }
    3737
    3838  while ( (ERC32_MEC.UART_Status & ERC32_MEC_UART_STATUS_THEB) == 0 );
    39   ERC32_MEC.UART_Channel_B = (int) ch;
     39  ERC32_MEC.UART_Channel_B = (unsigned int) ch;
    4040}
    4141
  • c/src/lib/libbsp/sparc/leon/ChangeLog

    rd8a9155 r6de4727f  
     12000-04-23      Jiri Gaisler <jiri@gaisler.com>
     2
     3        * console/debugputs.c: Switched to unsigned characters.
     4
    152000-12-06      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/lib/libbsp/sparc/leon/console/debugputs.c

    rd8a9155 r6de4727f  
    2727void console_outbyte_polled(
    2828  int  port,
    29   char ch
     29  unsigned char ch
    3030)
    3131{
    3232  if ( port == 0 ) {
    3333    while ( (LEON_REG.UART_Status_1 & LEON_REG_UART_STATUS_THE) == 0 );
    34       LEON_REG.UART_Channel_1 = (int) ch;
     34      LEON_REG.UART_Channel_1 = (unsigned int) ch;
    3535      return;
    3636    }
    3737
    3838    while ( (LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE) == 0 );
    39     LEON_REG.UART_Channel_2 = (int) ch;
     39    LEON_REG.UART_Channel_2 = (unsigned int) ch;
    4040}
    4141
Note: See TracChangeset for help on using the changeset viewer.