HomeFreeBSD

x86/local_apic.c: add lapic_maxlvt() helper

Description

x86/local_apic.c: add lapic_maxlvt() helper

that calculates the max index of the present LVT entry from the value of
the LAPIC version register.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54773

Details

Provenance
kibAuthored on Jan 19 2026, 12:50 PM
Reviewer
markj
Differential Revision
D54773: x86/local_apic.c: Properly calculate the number of LVT entries
Parents
rG83d988288675: sys: do not allow entering vm_fault() on boot until VM is initialized
Branches
Unknown
Tags
Unknown