summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 20:12:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 20:12:46 +0000
commitcebb89be7125c65b6f81f4e91ce26e940389c1db (patch)
treeea65230649f0b5a2ba3d5fa84c8fb7b2f393defb
parent7657233d5a078a29ac61ae7bc7d48d148ec208b2 (diff)
downloadrtems-cebb89be7125c65b6f81f4e91ce26e940389c1db.tar.bz2
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.c, mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c: Removed warnings.
-rw-r--r--c/src/lib/libcpu/powerpc/ChangeLog5
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c2
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c4
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c1
4 files changed, 12 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog
index 6b3c2bf9a4..70c9c6ff64 100644
--- a/c/src/lib/libcpu/powerpc/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-31 Joel Sherrill <joel@OARcorp.com>
+
+ * mpc6xx/clock/c_clock.c, mpc6xx/exceptions/raw_exception.c,
+ mpc6xx/mmu/bat.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c b/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c
index 90bd3aaaab..84e06c38df 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c
@@ -27,6 +27,8 @@
#include <libcpu/c_clock.h>
#include <rtems/bspIo.h> /* for printk() */
+extern int BSP_connect_clock_handler (void);
+
/*
* Clock ticks since initialization
*/
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
index 8d4a18d075..1759ad0216 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
@@ -26,11 +26,15 @@
#include <libcpu/raw_exception.h>
#include <libcpu/cpuIdent.h>
+#include <string.h>
+
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 mpc750_vector_is_valid(rtems_vector vector)
+
{
switch(vector) {
case ASM_RESET_VECTOR: /* fall through */
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c
index 9b5805cfdc..4e49bcc07e 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c
@@ -35,6 +35,7 @@ typedef struct batrange { /* stores address ranges mapped by BATs */
batrange bat_addrs[4];
+void asm_setdbat0(unsigned int, unsigned int);
void setdbat(int bat_index, unsigned long virt, unsigned long phys,
unsigned int size, int flags)
{