HomeFreeBSD

intrng: Add support for multiple interrupt roots

Description

intrng: Add support for multiple interrupt roots

Different types of interrupts may require using different exception
vectors so this commit adds support multiple interrupt roots to handle
these cases. Archs may opt-in to multiple interrupt roots by defining
INTR_ROOT_NUM as the number of roots in their intr.h. Based off
https://reviews.freebsd.org/D40161.

Signed-off-by: Ayrton Munoz <a.munoz3327@gmail.com>
Co-authored-by: Kyle Evans <kevans@FreeBSD.org>
Co-authored-by: Andrew Turner <andrew@FreeBSD.org>
Reviewed-by: imp,mmel,mhorne
Pull-Request: https://github.com/freebsd/freebsd-src/pull/1363

Details

Provenance
a.munoz3327_gmail.comAuthored on Jul 21 2024, 6:10 PM
impCommitted on Sun, Sep 22, 1:18 PM
Parents
rGa305f44d1404: bhyve: validate corb->wp to avoid infinite loop
Branches
Unknown
Tags
Unknown