Add support for FIQs. We need these to support agtimer(4) on Apple M1 SoCs
authorkettenis <kettenis@openbsd.org>
Wed, 17 Feb 2021 12:11:44 +0000 (12:11 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 17 Feb 2021 12:11:44 +0000 (12:11 +0000)
commitadc7c282072bd0a8067bf9fbcf42318cb4ad7921
tree453b091130234f5702d87e8415681543f119035f
parent759f3dcf720c26bb811f0250fa503b2a2e43a98f
Add support for FIQs.  We need these to support agtimer(4) on Apple M1 SoCs
since its interrupts seem to be hardwared to trigger an FIQ instead of an
IRQ.  This means we need to manipulate both the F and the I bit in the
DAIF register when enabling and disabling interrupts.

ok patrick@
sys/arch/arm64/arm64/exception.S
sys/arch/arm64/arm64/intr.c
sys/arch/arm64/arm64/trampoline.S
sys/arch/arm64/dev/agintc.c
sys/arch/arm64/dev/ampintc.c
sys/arch/arm64/dev/bcm2836_intr.c
sys/arch/arm64/include/cpu.h
sys/arch/arm64/include/intr.h
sys/arch/arm64/include/profile.h