summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 22:55:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 22:55:52 +0000
commit89fcd5caf364cd26be84209ef2b7e1db29bf5638 (patch)
tree531cdeeac44215a431b7dc8ddf6c15cc6fc67e84
parentd489513203c841a8e1451b70640fcbb3b42eaee4 (diff)
downloadrtems-89fcd5caf364cd26be84209ef2b7e1db29bf5638.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* irq/irq.c, irq/irq_asm.S, startup/bspstart.c: Fixed typos and removed warnings.
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog5
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c5
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_asm.S1
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c9
4 files changed, 13 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
index e2076e3a22..ea3673b435 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * irq/irq.c, irq/irq_asm.S, startup/bspstart.c: Fixed typos and
+ removed warnings.
+
2002-11-01 Andy Dachs <a.dachs@sstl.co.uk>
* irq/irq.c, irq/irq_asm.S, irq/irq_init.c: Per PR288, add support
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c b/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c
index 23318c17cf..de3ccec242 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c
@@ -19,11 +19,10 @@
#include <bsp.h>
#include <bsp/irq.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/apiext.h>
+#include <rtems.h>
+#include <rtems/bspIo.h>
#include <libcpu/raw_exception.h>
#include <bsp/vectors.h>
-#include <libcpu/cpu.h>
#include <mpc8260.h>
/*
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_asm.S b/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_asm.S
index 449fd648a1..442aa7ce01 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_asm.S
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_asm.S
@@ -18,7 +18,6 @@
#include <bsp/vectors.h>
#include <rtems/score/cpuopts.h> /* for PPC_HAS_FPU */
#include <rtems/score/cpu.h>
-#include <libcpu/cpu.h>
#include <libcpu/raw_exception.h>
#include "asm.h"
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
index 34a7bdcd51..adced77059 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
@@ -79,6 +79,10 @@ char *rtems_progname;
void bsp_postdriver_hook(void);
void bsp_libc_init( void *, unsigned32, int );
+void _BSP_GPLED1_on(void);
+void _BSP_GPLED0_on(void);
+void cpu_init(void);
+void initialize_exceptions(void);
void BSP_panic(char *s)
{
@@ -212,9 +216,6 @@ bsp_pretasking_hook(void)
void bsp_start(void)
{
extern void *_WorkspaceBase;
- extern int _end;
- rtems_unsigned32 heap_start;
- rtems_unsigned32 ws_start;
ppc_cpu_id_t myCpu;
ppc_cpu_revision_t myCpuRevision;
register unsigned char* intrStack;
@@ -368,5 +369,7 @@ Thread _Thread_Idle_body(
"mfmsr 3; oris 3,3,4; sync; mtmsr 3; isync; ori 3,3,0; ori 3,3,0"
);
}
+
+ return 0; /* to remove warning */
}