x86: Stop guessing IOAPIC routes
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 28 Mar 2014 00:49:12 +0000 (17:49 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 29 Mar 2014 01:17:06 +0000 (18:17 -0700)
commitf24cc55eeae023972032cec74b3e6d564dd3f196
tree0d41981c325b10c31752956dba4bf8679b4ab0c6
parente83030b71638b5efb9a2bf7d65b0e2ab3611433f
x86: Stop guessing IOAPIC routes

That hasn't worked on hardware yet.

Also fixes dumb bug in msi_mask_irq(): it could be called without the
MSI cap.
kern/arch/x86/ioapic.c
kern/arch/x86/msi.c