HomeFreeBSD

arm: generic_timer: use interrupt-names when available

Description

arm: generic_timer: use interrupt-names when available

Offsets for all of thse can be a bit complicated as not all interrupts
will be present, only phys and virt are actually required, and sec-phys
could optionally be specified before phys. Push idx/name pairs into
a new config struct and maintain the old indices while still getting the
correct timers.

Split fdt/acpi attach out independently and allocate interrupts before
we head into the common attach(). The secure physical timer is also
optional there, so mark it so to avoid erroring out if we run into
problems.

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D38911

Details

Provenance
kevansAuthored on Mar 5 2023, 12:49 AM
Reviewer
andrew
Differential Revision
D38911: arm: generic_timer: use interrupt-names when available
Parents
rG370e009188ba: makefs: make msdos creation go fast
Branches
Unknown
Tags
Unknown