mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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>
|
||||
|
||||
* 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);
|
||||
}
|
||||
|
||||
void _ThreadProcessSignalsFromIrq (CPU_Exception_frame* ctx)
|
||||
void _ThreadProcessSignalsFromIrq (void)
|
||||
{
|
||||
/*
|
||||
* Process pending signals that have not already been
|
||||
|
||||
@@ -170,20 +170,9 @@ nested:
|
||||
* exceptions. This makes sense because Signal is a software
|
||||
* exception.
|
||||
*/
|
||||
popl edx
|
||||
popl ecx
|
||||
popl eax
|
||||
|
||||
pushl $0 # fake fault code
|
||||
pushl $0 # fake exception number
|
||||
|
||||
pusha
|
||||
pushl esp
|
||||
call _ThreadProcessSignalsFromIrq
|
||||
addl $4, esp
|
||||
popa
|
||||
addl $8, esp
|
||||
iret
|
||||
|
||||
jmp .exit
|
||||
|
||||
.schedule:
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user