forked from Imagelibrary/rtems
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:
@@ -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>
|
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Move interrupt_stack_size field from CPU Table to
|
* startup/bspstart.c: Move interrupt_stack_size field from CPU Table to
|
||||||
|
|||||||
@@ -654,7 +654,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case ASM_SYSMGMT_VECTOR:
|
case ASM_60X_SYSMGMT_VECTOR:
|
||||||
|
|
||||||
/* get the content of main interrupt status register */
|
/* get the content of main interrupt status register */
|
||||||
pmce = mpc5200.pmce;
|
pmce = mpc5200.pmce;
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ SYM (system_management_exception_vector_prolog_code):
|
|||||||
*/
|
*/
|
||||||
stwu r1, - (EXCEPTION_FRAME_END)(r1)
|
stwu r1, - (EXCEPTION_FRAME_END)(r1)
|
||||||
stw r4, GPR4_OFFSET(r1)
|
stw r4, GPR4_OFFSET(r1)
|
||||||
li r4, ASM_SYSMGMT_VECTOR
|
li r4, ASM_60X_SYSMGMT_VECTOR
|
||||||
ba shared_raw_irq_code_entry
|
ba shared_raw_irq_code_entry
|
||||||
|
|
||||||
PUBLIC_VAR (system_management_exception_vector_prolog_code_size)
|
PUBLIC_VAR (system_management_exception_vector_prolog_code_size)
|
||||||
|
|||||||
@@ -288,8 +288,8 @@ void BSP_rtems_irq_mng_init(unsigned cpuId)
|
|||||||
BSP_panic("Unable to initialize RTEMS external raw exception\n");
|
BSP_panic("Unable to initialize RTEMS external raw exception\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
vectorDesc.exceptIndex = ASM_SYSMGMT_VECTOR;
|
vectorDesc.exceptIndex = ASM_60X_SYSMGMT_VECTOR;
|
||||||
vectorDesc.hdl.vector = ASM_SYSMGMT_VECTOR;
|
vectorDesc.hdl.vector = ASM_60X_SYSMGMT_VECTOR;
|
||||||
vectorDesc.hdl.raw_hdl = system_management_exception_vector_prolog_code;
|
vectorDesc.hdl.raw_hdl = system_management_exception_vector_prolog_code;
|
||||||
vectorDesc.hdl.raw_hdl_size = (unsigned) &system_management_exception_vector_prolog_code_size;
|
vectorDesc.hdl.raw_hdl_size = (unsigned) &system_management_exception_vector_prolog_code_size;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user