Page MenuHomeFreeBSD

acpi_timer: Add a softc to avoid use of global variables
Needs ReviewPublic

Authored by jhb on Wed, Sep 23, 7:04 PM.
Tags
None
Referenced Files
F173550817: D59936.diff
Sat, Sep 26, 7:15 PM
F173545901: D59936.id187526.diff
Sat, Sep 26, 6:24 PM
Unknown Object (File)
Fri, Sep 25, 1:29 AM
Unknown Object (File)
Thu, Sep 24, 9:18 PM
Unknown Object (File)
Thu, Sep 24, 8:00 PM
Unknown Object (File)
Thu, Sep 24, 4:42 PM
Unknown Object (File)
Thu, Sep 24, 1:51 PM
Unknown Object (File)
Thu, Sep 24, 7:06 AM
Subscribers
None

Details

Reviewers
imp
olce
Summary

Add a softc and use it to mostly replace the use of global variables
in this driver. Simplify the suspend and resume event handlers by
saving the old timecounter in the softc and passing the softc pointer
to the handlers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77218
Build 74101: arc lint + arc unit