forked from Imagelibrary/rtems
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* irq/irq.c, irq/irq_asm.S, startup/bspstart.c: Fixed typos and removed warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
/*
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user