HomeFreeBSD

Use CPUID leaf 0x40000010 for local APIC freq

Description

Use CPUID leaf 0x40000010 for local APIC freq

Some VM systems announce the frequency of the local APIC via the
CPUID leaf 0x40000010. Using this allows us to boot slightly
faster by avoiding the need for timer calibration.

Reviewed by: markj
Sponsored by: https://www.patreon.com/cperciva

(cherry picked from commit de1292c6ff8a445fd453effba8cc23c38cea223f)

Details

Provenance
cpercivaAuthored on Jan 9 2022, 12:59 AM
Parents
rG51e77b34e4bf: TSC: Use 0x40000010 CPUID leaf for all VM types
Branches
Unknown
Tags
Unknown