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, May 24, 8:22 AM
Unknown Object (File)
Feb 27 2024, 9:47 AM
Unknown Object (File)
Feb 7 2024, 7:41 AM
Unknown Object (File)
Jan 21 2024, 11:06 PM
Unknown Object (File)
Dec 23 2023, 12:40 AM
Unknown Object (File)
Dec 1 2023, 6:24 PM
Unknown Object (File)
Oct 21 2023, 9:13 AM
Unknown Object (File)
Aug 31 2023, 12:20 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