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)
Fri, Nov 29, 10:12 PM
Unknown Object (File)
Nov 26 2024, 7:30 AM
Unknown Object (File)
Nov 6 2024, 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
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 Not Applicable
Unit
Tests Not Applicable