[parisc-linux] ASP

Philipp Rumpf Philipp.H.Rumpf@mathe.stud.uni-erlangen.de
Fri, 12 Nov 1999 20:51:25 +0100


> which seems pretty comprehensive.  I'm wondering about slimming down our
> interrupt architecture for older machines; it's a trifle over-engineered
> for a machine which can't be expanded.

it is ?  Of course, you could hardcode the interrupt handlers in the ASP
main interrupt handler, so you would do

switch(ffs(mask)) {
case 0:
	return;
case 1:
	asp_something_interrupt();
	break;
case 2:
	asp_something_else_interrupt();
	break;
case 3:
	asp_keyboard_interrupt();
	break;
}

but my guess is this would just result in a jump table of function calls
rather than an indirect call - not going to improve performance measurably.

	Philipp Rumpf