2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>

* mpc5xx/console-generic/console-generic.c, mpc8260/timer/timer.c,
	new-exceptions/cpu.c, old-exceptions/cpu.c: Move interrupt_stack_size
	field from CPU Table to Configuration Table. Eliminate CPU Table from
	all ports. Delete references to CPU Table in all forms.
This commit is contained in:
Joel Sherrill
2007-12-04 22:19:37 +00:00
parent 6aa25dac92
commit 4216c573e3
5 changed files with 15 additions and 17 deletions

View File

@@ -1,3 +1,10 @@
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c, mpc8260/timer/timer.c,
new-exceptions/cpu.c, old-exceptions/cpu.c: Move interrupt_stack_size
field from CPU Table to Configuration Table. Eliminate CPU Table from
all ports. Delete references to CPU Table in all forms.
2007-12-04 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* mpc83xx/spi/mpc83xx_spidrv.c, mpc83xx/spi/mpc83xx_spidrv.h:

View File

@@ -52,8 +52,6 @@
#include <libcpu/irq.h>
extern rtems_cpu_table Cpu_table; /* for CPU clock speed */
/*
* SCI port descriptor table.
*/

View File

@@ -53,8 +53,6 @@
static volatile uint32_t Timer_starting;
static rtems_boolean Timer_driver_Find_average_overhead;
extern rtems_cpu_table Cpu_table;
/*
* This is so small that this code will be reproduced where needed.
*/

View File

@@ -40,23 +40,21 @@
* This routine performs processor dependent initialization.
*
* INPUT PARAMETERS:
* cpu_table - CPU table to initialize
* thread_dispatch - address of disptaching routine
*/
void _CPU_Initialize(
rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
_CPU_Table = *cpu_table;
{ unsigned hasFixed = 0;
/* assert that our BSP has fixed PR288 */
__asm__ __volatile__ ("mfspr %0, %2":"=r"(hasFixed):"0"(hasFixed),"i"(SPRG0));
if ( PPC_BSP_HAS_FIXED_PR288 != hasFixed ) {
BSP_panic("This BSP needs to fix PR#288");
}
{
unsigned hasFixed = 0;
/* assert that our BSP has fixed PR288 */
__asm__ __volatile__ ("mfspr %0, %2":
"=r"(hasFixed):"0"(hasFixed),"i"(SPRG0));
if ( PPC_BSP_HAS_FIXED_PR288 != hasFixed ) {
BSP_panic("This BSP needs to fix PR#288");
}
}
}

View File

@@ -71,7 +71,6 @@ int _CPU_last_spurious = 0;
boolean bsp_exceptions_in_RAM = TRUE;
void _CPU_Initialize(
rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
@@ -107,8 +106,6 @@ void _CPU_Initialize(
i = _CPU_IRQ_info.msr_initial;
asm volatile("mtspr 0x112, %0" : "=r" (i) : "0" (i)); /* SPRG 2 */
#endif
_CPU_Table = *cpu_table;
}
/*