Page MenuHomeFreeBSD

hwpmc: split out PMC_OP_PMCATTACH/PMC_OP_PMCDETACH
ClosedPublic

Authored by mhorne on May 26 2023, 6:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 7:30 AM
Unknown Object (File)
Wed, Nov 6, 6:02 AM
Unknown Object (File)
Sep 27 2024, 6:28 PM
Unknown Object (File)
Sep 27 2024, 1:21 PM
Unknown Object (File)
Sep 24 2024, 11:37 PM
Unknown Object (File)
Sep 24 2024, 7:57 PM
Unknown Object (File)
Sep 18 2024, 1:17 AM
Unknown Object (File)
Sep 17 2024, 10:44 AM
Subscribers

Details

Summary

Begin splitting out the large chunks of functional logic from the
syscall handler into separate helper functions. This keeps it separate
from the syscall control-flow logic, resulting in better readability
overall. It also wins back a level of indentation.

Try to keep copyin()/copyout() calls outside of the helper functions in
most cases. The changes are intended to have no functional impact, but
do address style issues.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51719
Build 48610: arc lint + arc unit