Page MenuHomeFreeBSD

arm64: Teach CHECK_CPU_FEAT to handle more values
ClosedPublic

Authored by andrew on Jul 17 2025, 3:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 5:12 PM
Unknown Object (File)
Fri, May 15, 9:38 AM
Unknown Object (File)
Fri, May 15, 9:37 AM
Unknown Object (File)
Fri, May 15, 9:37 AM
Unknown Object (File)
Thu, May 14, 1:19 PM
Unknown Object (File)
Mon, May 11, 2:33 AM
Unknown Object (File)
Sun, May 10, 7:58 PM
Unknown Object (File)
Fri, May 8, 7:11 AM
Subscribers

Details

Summary

CHECK_CPU_FEAT only supported checking for features that were enabled
when the field is non-zero. There are some features we might need to
check where we move between two non-zero values.

Support this by passing in the field value name to compare rather than
assuming a non-zero value.

Sponsored by: Arm Ltd

Diff Detail

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