Page MenuHomeFreeBSD

Move setting arm64 HWCAP values to the ID tables
ClosedPublic

Authored by andrew on Jul 16 2021, 2:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 2, 7:33 AM
Unknown Object (File)
Wed, Sep 17, 8:55 AM
Unknown Object (File)
Mon, Sep 15, 9:56 PM
Unknown Object (File)
Sun, Sep 14, 6:56 PM
Unknown Object (File)
Sep 10 2025, 10:35 AM
Unknown Object (File)
Aug 20 2025, 8:32 AM
Unknown Object (File)
Aug 18 2025, 11:41 PM
Unknown Object (File)
Aug 15 2025, 12:18 PM
Subscribers

Details

Summary

The HWCAPS values are based on the ID registers. Move setting these
to the existing ID register parsing code.

Previously we would need to handle all possible ID field values where
a HWCAP is set, however as most ID fields follow a scheme where when
the field increments it will only add new features meaning we only
need to check if the field is greater than when the HWCAP feature
was added.

While here stop setting HWCAP value that need kernel support, but this
support is missing.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable