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)
Mon, Aug 10, 4:13 PM
Unknown Object (File)
Mon, Aug 10, 4:09 PM
Unknown Object (File)
Mon, Aug 10, 12:13 AM
Unknown Object (File)
Fri, Jul 24, 12:11 PM
Unknown Object (File)
Thu, Jul 23, 6:05 PM
Unknown Object (File)
Jul 2 2026, 1:18 AM
Unknown Object (File)
Jun 20 2026, 11:51 AM
Unknown Object (File)
Jun 16 2026, 7:25 AM
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