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
F157906464: D20979.diff
Tue, May 26, 9:05 AM
F157906151: D20979.diff
Tue, May 26, 9:01 AM
Unknown Object (File)
Apr 26 2026, 12:57 AM
Unknown Object (File)
Apr 24 2026, 7:01 PM
Unknown Object (File)
Apr 15 2026, 4:46 AM
Unknown Object (File)
Apr 13 2026, 8:40 AM
Unknown Object (File)
Apr 13 2026, 2:53 AM
Unknown Object (File)
Apr 13 2026, 1:34 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