[parisc-linux] Interrupt[ion]s
Philipp Rumpf
prumpf@suse.de
Tue, 6 Jul 1999 23:03:40 +0200
The basic code to take interruptions and return from them now is there. (I'd
like to hear if it works on machines other than the A180 though). The next
step is to make sure we don't clobber all registers in this process, which
I think should not be a big problem.
I think we should have the following types of interruption handlers:
a) save all registers into the current task_struct, call interruption handler
(this would be used for interruptions that might change the running task)
b) save caller-saved registers to stack, call interruption handler
(this would be the faster, normal kind of interruption)
c) hand-written handlers that use the shadow registers
d) a hand-written handler for external interrupts, which I think I'll write
soon (this handler will either do a)-style or b)-style register saving
depending on the interrupt handler.
e) the firmware-supplied HPMC handler
Any comments ?
Philipp Rumpf