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
F171440283: D20979.id.diff
Fri, Sep 11, 3:43 AM
Unknown Object (File)
Sat, Sep 5, 5:52 AM
Unknown Object (File)
Fri, Sep 4, 8:10 PM
Unknown Object (File)
Fri, Sep 4, 11:04 AM
Unknown Object (File)
Fri, Sep 4, 6:55 AM
Unknown Object (File)
Thu, Sep 3, 5:59 AM
Unknown Object (File)
Wed, Sep 2, 4:16 AM
Unknown Object (File)
Wed, Sep 2, 1:16 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