summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/console
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-12-12 10:24:16 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-12-12 10:24:16 +0000
commit1408ea8de8c89610e19ee52cef1c94825f9fd336 (patch)
tree3419bfd3328188886a3efc0cc51f262c3198db42 /c/src/lib/libbsp/sparc/leon2/console
parent2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-1408ea8de8c89610e19ee52cef1c94825f9fd336.tar.bz2
Use uint32_t instead of rtems_unsigned32/unsigned32.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/console')
-rw-r--r--c/src/lib/libbsp/sparc/leon2/console/console.c10
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 )