summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon/console
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 05:18:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 05:18:03 +0000
commitbd978031bff85e31c9ede09506028910a894f224 (patch)
tree5d173dac4afbe69b16a6b360cd571a1fdbd74207 /c/src/lib/libbsp/sparc/leon/console
parent2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-bd978031bff85e31c9ede09506028910a894f224.tar.bz2
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/ckinit.c, console/console.c, console/debugputs.c, include/bsp.h, include/leon.h, startup/setvec.c, startup/spurious.c, timer/timer.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon/console')
-rw-r--r--c/src/lib/libbsp/sparc/leon/console/console.c10
-rw-r--r--c/src/lib/libbsp/sparc/leon/console/debugputs.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/sparc/leon/console/console.c b/c/src/lib/libbsp/sparc/leon/console/console.c
index 2fba40345f..5b6bab7470 100644
--- a/c/src/lib/libbsp/sparc/leon/console/console.c
+++ b/c/src/lib/libbsp/sparc/leon/console/console.c
@@ -107,7 +107,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;
}
@@ -147,7 +147,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;
}
@@ -170,8 +170,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
@@ -224,7 +224,7 @@ void console_exit()
*/
#ifdef RDB_BREAK_IN
- extern unsigned32 trap_table[];
+ extern uint32_t trap_table[];
#endif
void console_initialize_interrupts( void )
diff --git a/c/src/lib/libbsp/sparc/leon/console/debugputs.c b/c/src/lib/libbsp/sparc/leon/console/debugputs.c
index 46eb310e0b..f5e634d1b3 100644
--- a/c/src/lib/libbsp/sparc/leon/console/debugputs.c
+++ b/c/src/lib/libbsp/sparc/leon/console/debugputs.c
@@ -96,7 +96,7 @@ void DEBUG_puts(
)
{
char *s;
- unsigned32 old_level;
+ uint32_t old_level;
LEON_Disable_interrupt( LEON_INTERRUPT_UART_1_RX_TX, old_level );
LEON_REG.UART_Control_1 = LEON_REG_UART_CTRL_TE;