diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/console/console.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/console/console.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/console/console.c b/c/src/lib/libbsp/sparc/leon2/console/console.c index e426deee71..8d0c6999cf 100644 --- a/c/src/lib/libbsp/sparc/leon2/console/console.c +++ b/c/src/lib/libbsp/sparc/leon2/console/console.c @@ -108,7 +108,7 @@ rtems_isr console_isr_a( if ( LEON_REG.UART_Status_1 & LEON_REG_UART_STATUS_THE ) { if ( !Ring_buffer_Is_empty( &TX_Buffer[ 0 ] ) ) { Ring_buffer_Remove_character( &TX_Buffer[ 0 ], ch ); - LEON_REG.UART_Channel_1 = (unsigned32) ch; + LEON_REG.UART_Channel_1 = (uint32_t) ch; } else Is_TX_active[ 0 ] = FALSE; } @@ -148,7 +148,7 @@ rtems_isr console_isr_b( if ( LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE ) { if ( !Ring_buffer_Is_empty( &TX_Buffer[ 1 ] ) ) { Ring_buffer_Remove_character( &TX_Buffer[ 1 ], ch ); - LEON_REG.UART_Channel_2 = (unsigned32) ch; + LEON_REG.UART_Channel_2 = (uint32_t) ch; } else Is_TX_active[ 1 ] = FALSE; } @@ -171,8 +171,8 @@ rtems_isr console_isr_b( void console_exit() { - rtems_unsigned32 port; - rtems_unsigned32 ch; + uint32_t port; + uint32_t ch; /* * Although the interrupts for the UART are unmasked, the PIL is set to @@ -225,7 +225,7 @@ void console_exit() */ #ifdef RDB_BREAK_IN - extern unsigned32 trap_table[]; + extern uint32_t trap_table[]; #endif void console_initialize_interrupts( void ) |