This ensures that LAPIC calibration is done using the correct tsc_freq
value, i.e., the one associated with the TSC timecounter. It does mean
though that TSC calibration cannot use sbinuptime() to read the
reference timecounter, as timehands are not yet set up.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 43083 Build 39971: arc lint + arc unit
Event Timeline
sys/x86/x86/tsc.c | ||
---|---|---|
718 | Perhaps add a comment explaining why do you directly use tc_get_timecount(), instead of only saying it in the commit message. |