cvs commit: src/sys/ia64/ia64 exception.S genassym.c
marcel at FreeBSD.org
Sun Aug 3 17:10:36 PDT 2003
marcel 2003/08/03 17:08:39 PDT
FreeBSD src repository
sys/ia64/ia64 exception.S genassym.c
Fix handling of external interrupts: we weren't calling ast() when
interrupting user mode. The net effect of this bug is that a clock
interrupt does not cause rescheduling and processes are not
preempted. It only takes a "while (1);" to render the machine
This bug was introduced by the context changes and EPC syscall code.
Handling of ASTs was moved to C for clarity and ease of maintenance,
but was not added for the external interrupt case.
This needs to be revisited. We now have calls to do_ast() in trap(),
break_syscall() and ivt_External_Interrupt(). A single call in
exception_restore covers these 3 places without duplication. This
is where we handled ASTs prior to the overhaul, except that the
meat has been moved to do_ast(), a C function. This was the goal
to begin with.
Pointy hat: marcel
Revision Changes Path
1.49 +50 -13 src/sys/ia64/ia64/exception.S
1.35 +1 -1 src/sys/ia64/ia64/genassym.c
More information about the cvs-src