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:
Till Straumann
2009-10-29 15:53:31 +00:00
parent 90d2402223
commit 1fe3e3cf25
3 changed files with 10 additions and 14 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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:
/*