summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:58:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:58:52 +0000
commit2247a69348b5cdae380753fb46121a46539f2cf5 (patch)
tree0690af40d0660d0a0a46b88f71c7b579ffdcb346
parent17ed00e431981b0a0a8d086cb21526b37db1ada3 (diff)
downloadrtems-2247a69348b5cdae380753fb46121a46539f2cf5.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/dpram.c, mpc8xx/exceptions/raw_exception.c, ppc403/clock/clock.c: Removed warnings.
-rw-r--r--c/src/lib/libcpu/powerpc/ChangeLog6
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c1
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c2
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c1
-rw-r--r--c/src/lib/libcpu/powerpc/ppc403/clock/clock.c6
5 files changed, 16 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog
index 70c9c6ff64..f88bd85eeb 100644
--- a/c/src/lib/libcpu/powerpc/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/dpram.c,
+ mpc8xx/exceptions/raw_exception.c, ppc403/clock/clock.c:
+ Removed warnings.
+
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.c, mpc6xx/exceptions/raw_exception.c,
diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c b/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c
index ed9160287b..385a7655d1 100644
--- a/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c
+++ b/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c
@@ -56,6 +56,7 @@
#include <bsp/irq.h>
#include <rtems/bspIo.h> /* for printk */
+int BSP_irq_enabled_at_cpm(const rtems_irq_symbolic_name irqLine);
extern rtems_cpu_table Cpu_table;
/* BSP supplied routine */
diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c
index 825e591351..9e3713bcca 100644
--- a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c
+++ b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c
@@ -17,6 +17,8 @@
#include <mpc8xx.h>
#include <mpc8xx/cpm.h>
+extern void rtems_panic(char *, int);
+
/*
* Allocation order:
* - Dual-Port RAM section 0
diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c b/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c
index 30e58068b0..16046179d5 100644
--- a/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c
+++ b/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c
@@ -24,6 +24,7 @@
#include <libcpu/raw_exception.h>
#include <libcpu/cpuIdent.h>
#include <rtems/bspIo.h> /* for printk */
+#include <string.h>
static rtems_raw_except_connect_data* raw_except_table;
static rtems_raw_except_connect_data default_raw_except_entry;
diff --git a/c/src/lib/libcpu/powerpc/ppc403/clock/clock.c b/c/src/lib/libcpu/powerpc/ppc403/clock/clock.c
index 5ba10ace42..aa3e437aea 100644
--- a/c/src/lib/libcpu/powerpc/ppc403/clock/clock.c
+++ b/c/src/lib/libcpu/powerpc/ppc403/clock/clock.c
@@ -49,6 +49,12 @@ static rtems_boolean auto_restart;
void Clock_exit( void );
+rtems_isr_entry set_vector( /* returns old vector */
+ rtems_isr_entry handler, /* isr routine */
+ rtems_vector_number vector, /* vector number */
+ int type /* RTEMS or RAW intr */
+);
+
/*
* These are set by clock driver during its init
*/