8088699f79
type of software interrupt. Roughly, what used to be a bit in spending now maps to a swi thread. Each thread can have multiple handlers, just like a hardware interrupt thread. - Instead of using a bitmask of pending interrupts, we schedule the specific software interrupt thread to run, so spending, NSWI, and the shandlers array are no longer needed. We can now have an arbitrary number of software interrupt threads. When you register a software interrupt thread via sinthand_add(), you get back a struct intrhand that you pass to sched_swi() when you wish to schedule your swi thread to run. - Convert the name of 'struct intrec' to 'struct intrhand' as it is a bit more intuitive. Also, prefix all the members of struct intrhand with 'ih_'. - Make swi_net() a MI function since there is now no point in it being MD. Submitted by: cp |
||
---|---|---|
.. | ||
_limits.h | ||
bootinfo.h | ||
clock.h | ||
globaldata.h | ||
globals.h | ||
limits.h | ||
md_var.h | ||
mutex.h | ||
pcpu.h | ||
ptrace.h | ||
resource.h | ||
sigframe.h |