Page MenuHomeFreeBSD

Provide macros to extract the sub-fields of the CAP_LO and CAP_HI registers.
ClosedPublic

Authored by imp on Jul 17 2019, 5:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 1 2025, 5:02 PM
Unknown Object (File)
Sep 1 2025, 6:08 AM
Unknown Object (File)
Aug 24 2025, 5:26 AM
Unknown Object (File)
Jun 25 2025, 2:19 PM
Unknown Object (File)
Jun 25 2025, 1:09 AM
Unknown Object (File)
Jun 23 2025, 1:52 PM
Unknown Object (File)
Jun 22 2025, 9:18 PM
Unknown Object (File)
Jun 14 2025, 8:07 PM
Subscribers
None

Details

Summary

These macros make places where we extract these easier to read. The shift and
mask stuff is also a bit tedious and error prone. Start with the CAP_LO and
CAP_HI registers since their scope is somewhat constrained. This is style
chagne only, no functional changes.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable