x86 register IRQ handlers for devices that exist
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 4 Apr 2012 00:39:43 +0000 (17:39 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 4 Apr 2012 00:39:43 +0000 (17:39 -0700)
commitf48ec6e27faa9c6be4eb1c545d7a083e736b9a6d
tree129a72d889968e1965e74ef288d92cd17c6ce0fc
parent0bdfe1b6f019db13bf57bd69f87edba95c51c8bc
x86 register IRQ handlers for devices that exist

Instead of just blindly registering anything that could exist.

Note that we can only register one 'device' per IRQ, so if you have both
COM1 and COM3 (for example, and let alone other devices sharing IRQs),
then the last one to register will get serviced.
kern/arch/i686/init.c