thorpej
0fb6b9a8f8
Rework the interrupt code, shaving some cycles off in the process.
...
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector. This also allows us to hook device
interrupts up to specific vectors (c.f. Jensen).
We can shave even more cycles off, here, and I will, but it requires
some changes to the alpha_shared_intr stuff.
2001-07-27 00:25:18 +00:00
thorpej
2668e3b213
Switch to the new `evcnt' mechanism for counting interrupts. Maintain
...
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:10 +00:00
thorpej
e8d65fec30
ANSI'ify function declarations.
2000-06-04 05:27:45 +00:00
thorpej
ac93a75106
Point back to the alpha_shared_intr in the intrhand structure. This
...
allows platform-specific code to access the `intr_private' data via
the intrhand structure.
2000-03-19 01:46:18 +00:00
mjacob
13e13336b2
Allow (re)setting of maxstrays after establishment of a shared interrupt.
...
This allows sporadic stray interrupt counts to be reset by an acknowledgement
of the same interrupt.
2000-02-10 07:45:02 +00:00
mjacob
d166ec2056
Do not forget to init intr_private
2000-02-01 04:14:18 +00:00
thorpej
8b34a5b689
Revert previous.
1999-12-08 23:54:55 +00:00
thorpej
25a665e643
Avoid a spurious warning when establishing a pulsed interrupt handler
...
on an IRQ which was marked "initially-pulsed".
1999-12-07 21:36:16 +00:00
thorpej
7f1ccd57ea
Add a way to get/set a private pointer in the shared interrupt header.
1999-11-29 19:59:19 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
thorpej
528dab6808
Implement alpha_shared_intr_disestablish(). Simply removes the handler
...
fromthe list, allowing the caller to manipulate the sharing type,
if appropriate.
1998-08-01 18:52:36 +00:00
thorpej
c7f8d02b23
Always count the number of strays we encounter, but don't send a "stopped
...
logging" message if we're ignoring strays.
1998-07-07 22:06:29 +00:00
thorpej
693b3e7262
Nuke the idea of <machine/options.h>. It completely defeats the purpose
...
of fine-grain option dependencies.
1997-09-02 13:17:47 +00:00
cgd
90789b53dd
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
...
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00
cgd
38d98acc9f
clean up NetBSD RCS ID strings, include machine/options.h
1997-04-06 22:55:59 +00:00
cgd
91c6442ca0
implement a (hack-ish) set of routines to do common chained-interrupt
...
handler management. It's nasty, but three slightly different copies of
the code is worse.
1996-11-17 02:03:08 +00:00