x86: irq handler func pointers
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 12 Mar 2014 02:28:40 +0000 (19:28 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 29 Mar 2014 01:16:10 +0000 (18:16 -0700)
commit9a7282c9c0e279aa5e8eec1346edea65da2a0ec6
tree18e9b9cdc640e214ed86cf6b1471f5ace393ba05
parentefdc5b56ac85905e2b3088b7f0b0fdbb20496c8e
x86: irq handler func pointers

This is more in line with modern OSs (plan 9, linux), where we have some
struct tracking what to do at a given vector, instead of branching on
the trap number.
kern/arch/x86/apic.c
kern/arch/x86/apic.h
kern/arch/x86/trap.c
kern/arch/x86/trap.h
kern/include/trap.h