\
SAVE_PROCESS_CTX(0) ;\
push %ebp ;\
+ movl $0, %ebp /* for stack trace */ ;\
call _context_stop ;\
add $4, %esp ;\
- movl $0, %ebp /* for stack trace */ ;\
PIC_IRQ_HANDLER(irq) ;\
movb $END_OF_INT, %al ;\
outb $INT_CTL /* reenable interrupts in master pic */ ;\
\
SAVE_PROCESS_CTX(0) ;\
push %ebp ;\
+ movl $0, %ebp /* for stack trace */ ;\
call _context_stop ;\
add $4, %esp ;\
- movl $0, %ebp /* for stack trace */ ;\
PIC_IRQ_HANDLER(irq) ;\
movb $END_OF_INT, %al ;\
outb $INT_CTL /* reenable interrupts in master pic */ ;\
/* stop user process cycles */
push %ebp
- call _context_stop
- add $4, %esp
-
/* for stack trace */
movl $0, %ebp
+ call _context_stop
+ add $4, %esp
call _do_ipc
/* stop user process cycles */
push %ebp
- call _context_stop
- add $4, %esp
-
/* for stack trace */
movl $0, %ebp
+ call _context_stop
+ add $4, %esp
call _kernel_call
/* stop user process cycles */
push %ebp
- call _context_stop
- add $4, %esp
-
/* for stack trace clear %ebp */
movl $0, %ebp
+ call _context_stop
+ add $4, %esp
/*
* push a pointer to the interrupt state pushed by the cpu and the