summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-23 13:19:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-23 13:19:35 +0000
commit6de4727fd21f29daa8cdccaf031c3d4127abff39 (patch)
tree4aee2e37bfa002a5b69e98f59cd455dedf2f88c2 /c/src/lib/libbsp
parent2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com> (diff)
downloadrtems-6de4727fd21f29daa8cdccaf031c3d4127abff39.tar.bz2
2000-04-23 Jiri Gaisler <jiri@gaisler.com>
* console/debugputs.c: Switched to unsigned characters.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/erc32/console/debugputs.c6
-rw-r--r--c/src/lib/libbsp/sparc/leon/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/leon/console/debugputs.c6
4 files changed, 14 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/ChangeLog b/c/src/lib/libbsp/sparc/erc32/ChangeLog
index 3c2d5a8a32..dd15cdbff0 100644
--- a/c/src/lib/libbsp/sparc/erc32/ChangeLog
+++ b/c/src/lib/libbsp/sparc/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-23 Jiri Gaisler <jiri@gaisler.com>
+
+ * console/debugputs.c: Switched to unsigned characters.
+
2000-12-06 Joel Sherrill <joel@OARcorp.com>
* gnatsupp/gnatsupp.c: Added prototype to eliminate warning.
diff --git a/c/src/lib/libbsp/sparc/erc32/console/debugputs.c b/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
index 54778dc237..69a1a13ccd 100644
--- a/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
+++ b/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
@@ -26,17 +26,17 @@
void console_outbyte_polled(
int port,
- char ch
+ unsigned char ch
)
{
if ( port == 0 ) {
while ( (ERC32_MEC.UART_Status & ERC32_MEC_UART_STATUS_THEA) == 0 );
- ERC32_MEC.UART_Channel_A = (int) ch;
+ ERC32_MEC.UART_Channel_A = (unsigned int) ch;
return;
}
while ( (ERC32_MEC.UART_Status & ERC32_MEC_UART_STATUS_THEB) == 0 );
- ERC32_MEC.UART_Channel_B = (int) ch;
+ ERC32_MEC.UART_Channel_B = (unsigned int) ch;
}
/*
diff --git a/c/src/lib/libbsp/sparc/leon/ChangeLog b/c/src/lib/libbsp/sparc/leon/ChangeLog
index ad103140de..97a4274a09 100644
--- a/c/src/lib/libbsp/sparc/leon/ChangeLog
+++ b/c/src/lib/libbsp/sparc/leon/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-23 Jiri Gaisler <jiri@gaisler.com>
+
+ * console/debugputs.c: Switched to unsigned characters.
+
2000-12-06 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Removed console_reserve_resources().
diff --git a/c/src/lib/libbsp/sparc/leon/console/debugputs.c b/c/src/lib/libbsp/sparc/leon/console/debugputs.c
index 71b5c8debf..c6c7ac86f1 100644
--- a/c/src/lib/libbsp/sparc/leon/console/debugputs.c
+++ b/c/src/lib/libbsp/sparc/leon/console/debugputs.c
@@ -26,17 +26,17 @@
void console_outbyte_polled(
int port,
- char ch
+ unsigned char ch
)
{
if ( port == 0 ) {
while ( (LEON_REG.UART_Status_1 & LEON_REG_UART_STATUS_THE) == 0 );
- LEON_REG.UART_Channel_1 = (int) ch;
+ LEON_REG.UART_Channel_1 = (unsigned int) ch;
return;
}
while ( (LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE) == 0 );
- LEON_REG.UART_Channel_2 = (int) ch;
+ LEON_REG.UART_Channel_2 = (unsigned int) ch;
}
/*