summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:57:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:57:28 +0000
commit88c48a3a6f9a0b63be51445f868181880defeea8 (patch)
tree2c3f43557d72df8538f9fc00a90a8e4539898a1e
parenta1a84a3901c8db5fb34eab53d82bf8781ae5ffd9 (diff)
downloadrtems-88c48a3a6f9a0b63be51445f868181880defeea8.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* gnatsupp/gnatsupp.c, startup/spurious.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/sparc/leon/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/leon/gnatsupp/gnatsupp.c2
-rw-r--r--c/src/lib/libbsp/sparc/leon/startup/spurious.c6
3 files changed, 11 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/leon/ChangeLog b/c/src/lib/libbsp/sparc/leon/ChangeLog
index e78cc661ca..6f61e71194 100644
--- a/c/src/lib/libbsp/sparc/leon/ChangeLog
+++ b/c/src/lib/libbsp/sparc/leon/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * gnatsupp/gnatsupp.c, startup/spurious.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libbsp/sparc/leon/gnatsupp/gnatsupp.c b/c/src/lib/libbsp/sparc/leon/gnatsupp/gnatsupp.c
index 347435d950..34169b9895 100644
--- a/c/src/lib/libbsp/sparc/leon/gnatsupp/gnatsupp.c
+++ b/c/src/lib/libbsp/sparc/leon/gnatsupp/gnatsupp.c
@@ -5,6 +5,8 @@
*
*/
+void __gnat_install_handler_common (int t1, int t2);
+
/*
* Avoid trap 0x18 which is used by the clock tick, and
* 0x12 (UART B interrupt) which is used by the stub.
diff --git a/c/src/lib/libbsp/sparc/leon/startup/spurious.c b/c/src/lib/libbsp/sparc/leon/startup/spurious.c
index 9e8f796bf5..8dc9a6f407 100644
--- a/c/src/lib/libbsp/sparc/leon/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/leon/startup/spurious.c
@@ -164,7 +164,11 @@ void bsp_spurious_initialize()
(( trap >= 0x70 ) && ( trap <= 0x83 )))
continue;
- set_vector( bsp_spurious_handler, SPARC_SYNCHRONOUS_TRAP( trap ), 1 );
+ set_vector(
+ (rtems_isr_entry) bsp_spurious_handler,
+ SPARC_SYNCHRONOUS_TRAP( trap ),
+ 1
+ );
}
LEON_REG.Interrupt_Mask = mask;