Add support for pre-registering interrupts. This allows device drivers to
authorkettenis <kettenis@openbsd.org>
Thu, 4 Aug 2016 12:17:36 +0000 (12:17 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 4 Aug 2016 12:17:36 +0000 (12:17 +0000)
commit3a2a51e5619936b4fc0a29a358dc04e80e2d5b14
tree75b8d8f80617869785b536f25f5cc2c018b4258f
parenta250d9f140eddb19e8853041b6df0238c51f2061
Add support for pre-registering interrupts.  This allows device drivers to
establish interrupts before their interrupt controller attaches, solving
dependency problems in various device trees.

Also add support for handing interrupt handlers over to parent interrupt
controllers.

ok jsg@ patrick@ (on an earlier diff)
sys/arch/arm/mainbus/mainbus.c
sys/arch/armv7/armv7/intr.c
sys/arch/armv7/include/intr.h