forked from Imagelibrary/rtems
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/clock/clock.c, mpc5xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/cpm/brg.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c, new-exceptions/raw_exception.c, old-exceptions/cpu.c, ppc403/clock/clock.c, ppc403/console/console.c, ppc403/console/console.c.polled, ppc403/console/console405.c, ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c, ppc403/timer/timer.c, ppc403/tty_drv/tty_drv.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
This commit is contained in:
@@ -43,7 +43,7 @@ void * codemove(void *, const void *, unsigned int, unsigned long);
|
||||
static void* ppc_get_vector_addr(rtems_vector vector)
|
||||
{
|
||||
unsigned vaddr;
|
||||
extern rtems_cpu_table Cpu_table;
|
||||
extern boolean bsp_exceptions_in_RAM;
|
||||
|
||||
switch(vector) {
|
||||
/*
|
||||
@@ -76,7 +76,7 @@ static void* ppc_get_vector_addr(rtems_vector vector)
|
||||
vaddr = ((unsigned)vector) << 8;
|
||||
break;
|
||||
}
|
||||
if ( Cpu_table.exceptions_in_RAM )
|
||||
if ( bsp_exceptions_in_RAM )
|
||||
return ((void*) vaddr);
|
||||
|
||||
return ((void*) (vaddr + 0xfff00000));
|
||||
|
||||
Reference in New Issue
Block a user