summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:29:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:29:02 +0000
commit9c8838f1e15a1fb0563b73ab48f0ed10fd2f120a (patch)
treea9c968d42659e49b133238713df78d6bb1e3e078 /c/src
parent2002-11-04 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-9c8838f1e15a1fb0563b73ab48f0ed10fd2f120a.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* mpc8260/console-generic/console-generic.c, mpc8260/cpm/dpram.c, mpc8260/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.c: Removed warnings.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libcpu/powerpc/ChangeLog6
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c26
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c2
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8260/exceptions/raw_exception.c2
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c2
5 files changed, 26 insertions, 12 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog
index f88bd85eeb..206219d5ce 100644
--- a/c/src/lib/libcpu/powerpc/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-04 Joel Sherrill <joel@OARcorp.com>
+
+ * mpc8260/console-generic/console-generic.c, mpc8260/cpm/dpram.c,
+ mpc8260/exceptions/raw_exception.c,
+ mpc8xx/exceptions/raw_exception.c: Removed warnings.
+
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/dpram.c,
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c b/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c
index 3e855007fc..e5103c8590 100644
--- a/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c
+++ b/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c
@@ -91,8 +91,10 @@ static volatile m8260BufferDescriptor_t *RxBd[NUM_PORTS], *TxBd[NUM_PORTS];
/* Used to track termios private data for callbacks */
struct rtems_termios_tty *ttyp[NUM_PORTS];
+#if 0
/* Used to record previous ISR */
static rtems_isr_entry old_handler[NUM_PORTS];
+#endif
/*
* Device-specific routines
@@ -100,12 +102,12 @@ static rtems_isr_entry old_handler[NUM_PORTS];
void m8xx_console_reserve_resources(rtems_configuration_table *);
static int m8xx_smc_set_attributes(int, const struct termios*);
static int m8xx_scc_set_attributes(int, const struct termios*);
-static rtems_isr m8xx_smc1_interrupt_handler(rtems_vector_number);
-static rtems_isr m8xx_smc2_interrupt_handler(rtems_vector_number);
-static rtems_isr m8xx_scc1_interrupt_handler(rtems_vector_number);
-static rtems_isr m8xx_scc2_interrupt_handler(rtems_vector_number);
-static rtems_isr m8xx_scc3_interrupt_handler(rtems_vector_number);
-static rtems_isr m8xx_scc4_interrupt_handler(rtems_vector_number);
+static rtems_isr m8xx_smc1_interrupt_handler();
+static rtems_isr m8xx_smc2_interrupt_handler();
+static rtems_isr m8xx_scc1_interrupt_handler();
+static rtems_isr m8xx_scc2_interrupt_handler();
+static rtems_isr m8xx_scc3_interrupt_handler();
+static rtems_isr m8xx_scc4_interrupt_handler();
@@ -350,7 +352,7 @@ m8xx_uart_setAttributes(
*/
static void
-m8xx_scc1_interrupt_handler (rtems_vector_number v)
+m8xx_scc1_interrupt_handler ()
{
int nb_overflow;
@@ -394,7 +396,7 @@ m8xx_scc1_interrupt_handler (rtems_vector_number v)
}
static void
-m8xx_scc2_interrupt_handler (rtems_vector_number v)
+m8xx_scc2_interrupt_handler ()
{
int nb_overflow;
@@ -439,7 +441,7 @@ m8xx_scc2_interrupt_handler (rtems_vector_number v)
static void
-m8xx_scc3_interrupt_handler (rtems_vector_number v)
+m8xx_scc3_interrupt_handler ()
{
int nb_overflow;
@@ -485,7 +487,7 @@ m8xx_scc3_interrupt_handler (rtems_vector_number v)
static void
-m8xx_scc4_interrupt_handler (rtems_vector_number v)
+m8xx_scc4_interrupt_handler ()
{
int nb_overflow;
@@ -529,7 +531,7 @@ m8xx_scc4_interrupt_handler (rtems_vector_number v)
}
static void
-m8xx_smc1_interrupt_handler (rtems_vector_number v)
+m8xx_smc1_interrupt_handler ()
{
int nb_overflow;
@@ -574,7 +576,7 @@ m8xx_smc1_interrupt_handler (rtems_vector_number v)
static void
-m8xx_smc2_interrupt_handler (rtems_vector_number v)
+m8xx_smc2_interrupt_handler ()
{
int nb_overflow;
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c b/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
index 7fb8f512a6..84030b7528 100644
--- a/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
+++ b/c/src/lib/libcpu/powerpc/mpc8260/cpm/dpram.c
@@ -21,6 +21,8 @@
#include <mpc8260.h>
#include <mpc8260/cpm.h>
+void rtems_panic(char *, int);
+
/*
* Allocation order:
* - Dual-Port RAM section 0
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/exceptions/raw_exception.c b/c/src/lib/libcpu/powerpc/mpc8260/exceptions/raw_exception.c
index aac37de08a..76068244e1 100644
--- a/c/src/lib/libcpu/powerpc/mpc8260/exceptions/raw_exception.c
+++ b/c/src/lib/libcpu/powerpc/mpc8260/exceptions/raw_exception.c
@@ -32,6 +32,8 @@ static rtems_raw_except_connect_data* raw_except_table;
static rtems_raw_except_connect_data default_raw_except_entry;
static rtems_raw_except_global_settings* local_settings;
+void * codemove(void *, const void *, unsigned int, unsigned long);
+
int mpc8260_vector_is_valid(rtems_vector vector)
{
switch(vector) {
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 16046179d5..462690bcb0 100644
--- a/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c
+++ b/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/raw_exception.c
@@ -26,6 +26,8 @@
#include <rtems/bspIo.h> /* for printk */
#include <string.h>
+void * codemove(void *, const void *, unsigned int, unsigned long);
+
static rtems_raw_except_connect_data* raw_except_table;
static rtems_raw_except_connect_data default_raw_except_entry;
static rtems_raw_except_global_settings* local_settings;