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, Nov 21, 5:00 AM
Unknown Object (File)
Mon, Nov 17, 8:11 AM
Unknown Object (File)
Fri, Nov 14, 9:28 PM
Unknown Object (File)
Sun, Nov 9, 6:56 PM
Unknown Object (File)
Sun, Nov 9, 6:50 PM
Unknown Object (File)
Sun, Nov 9, 12:06 AM
Unknown Object (File)
Oct 29 2025, 2:14 PM
Unknown Object (File)
Oct 29 2025, 8:26 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