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
F176309388: D51375.id158669.diff
Sat, Oct 17, 7:57 PM
Unknown Object (File)
Fri, Oct 16, 2:02 PM
Unknown Object (File)
Fri, Oct 16, 12:34 PM
Unknown Object (File)
Fri, Oct 16, 7:18 AM
Unknown Object (File)
Fri, Oct 9, 10:25 AM
Unknown Object (File)
Sat, Oct 3, 12:21 AM
Unknown Object (File)
Mon, Sep 21, 2:03 PM
Unknown Object (File)
Sun, Sep 20, 2:39 PM
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