forked from Imagelibrary/rtems
2009-10-29 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/irq/irq.c: removed (fake) exception frame argument to _ThreadProcessSignalsFromIrq(). This has never been used and removing it simplifies the assembly code.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2009-10-29 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
* shared/irq/irq_asm.S, shared/irq/irq.c: removed
|
||||||
|
(fake) exception frame argument to _ThreadProcessSignalsFromIrq().
|
||||||
|
This has never been used and removing it simplifies the assembly
|
||||||
|
code.
|
||||||
|
|
||||||
2009-10-28 Till Straumann <strauman@slac.stanford.edu>
|
2009-10-28 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* shared/irq/irq_asm.S: Make sure stack is aligned to
|
* shared/irq/irq_asm.S: Make sure stack is aligned to
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ void C_dispatch_isr(int vector)
|
|||||||
bsp_interrupt_handler_dispatch(vector);
|
bsp_interrupt_handler_dispatch(vector);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _ThreadProcessSignalsFromIrq (CPU_Exception_frame* ctx)
|
void _ThreadProcessSignalsFromIrq (void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Process pending signals that have not already been
|
* Process pending signals that have not already been
|
||||||
|
|||||||
@@ -170,20 +170,9 @@ nested:
|
|||||||
* exceptions. This makes sense because Signal is a software
|
* exceptions. This makes sense because Signal is a software
|
||||||
* exception.
|
* exception.
|
||||||
*/
|
*/
|
||||||
popl edx
|
|
||||||
popl ecx
|
|
||||||
popl eax
|
|
||||||
|
|
||||||
pushl $0 # fake fault code
|
|
||||||
pushl $0 # fake exception number
|
|
||||||
|
|
||||||
pusha
|
|
||||||
pushl esp
|
|
||||||
call _ThreadProcessSignalsFromIrq
|
call _ThreadProcessSignalsFromIrq
|
||||||
addl $4, esp
|
|
||||||
popa
|
jmp .exit
|
||||||
addl $8, esp
|
|
||||||
iret
|
|
||||||
|
|
||||||
.schedule:
|
.schedule:
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user