2007-12-05 Till Straumann <strauman@slac.stanford.edu>

* irq/irq_init.c, irq_asm.S:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
This commit is contained in:
Till Straumann
2007-12-05 08:41:04 +00:00
parent 0fb0eb034c
commit 586c15a5f8
4 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, irq_asm.S:
Converted exception vector names to new ones
(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Move interrupt_stack_size field from CPU Table to

View File

@@ -654,7 +654,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
return;
case ASM_SYSMGMT_VECTOR:
case ASM_60X_SYSMGMT_VECTOR:
/* get the content of main interrupt status register */
pmce = mpc5200.pmce;

View File

@@ -126,7 +126,7 @@ SYM (system_management_exception_vector_prolog_code):
*/
stwu r1, - (EXCEPTION_FRAME_END)(r1)
stw r4, GPR4_OFFSET(r1)
li r4, ASM_SYSMGMT_VECTOR
li r4, ASM_60X_SYSMGMT_VECTOR
ba shared_raw_irq_code_entry
PUBLIC_VAR (system_management_exception_vector_prolog_code_size)

View File

@@ -288,8 +288,8 @@ void BSP_rtems_irq_mng_init(unsigned cpuId)
BSP_panic("Unable to initialize RTEMS external raw exception\n");
}
vectorDesc.exceptIndex = ASM_SYSMGMT_VECTOR;
vectorDesc.hdl.vector = ASM_SYSMGMT_VECTOR;
vectorDesc.exceptIndex = ASM_60X_SYSMGMT_VECTOR;
vectorDesc.hdl.vector = ASM_60X_SYSMGMT_VECTOR;
vectorDesc.hdl.raw_hdl = system_management_exception_vector_prolog_code;
vectorDesc.hdl.raw_hdl_size = (unsigned) &system_management_exception_vector_prolog_code_size;