mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Add some tunable descriptions about x86 timers.
Requested by: arundel
This commit is contained in:
parent
149ce1025c
commit
5331d61da4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220613
3 changed files with 4 additions and 3 deletions
|
@ -276,7 +276,7 @@ acpi_timer_sysctl_freq(SYSCTL_HANDLER_ARGS)
|
|||
}
|
||||
|
||||
SYSCTL_PROC(_machdep, OID_AUTO, acpi_timer_freq, CTLTYPE_INT | CTLFLAG_RW,
|
||||
0, sizeof(u_int), acpi_timer_sysctl_freq, "I", "");
|
||||
0, sizeof(u_int), acpi_timer_sysctl_freq, "I", "ACPI timer frequency");
|
||||
|
||||
/*
|
||||
* Some ACPI timers are known or believed to suffer from implementation
|
||||
|
|
|
@ -527,7 +527,8 @@ sysctl_machdep_i8254_freq(SYSCTL_HANDLER_ARGS)
|
|||
}
|
||||
|
||||
SYSCTL_PROC(_machdep, OID_AUTO, i8254_freq, CTLTYPE_INT | CTLFLAG_RW,
|
||||
0, sizeof(u_int), sysctl_machdep_i8254_freq, "IU", "");
|
||||
0, sizeof(u_int), sysctl_machdep_i8254_freq, "IU",
|
||||
"i8254 timer frequency");
|
||||
|
||||
static unsigned
|
||||
i8254_get_timecount(struct timecounter *tc)
|
||||
|
|
|
@ -361,7 +361,7 @@ sysctl_machdep_tsc_freq(SYSCTL_HANDLER_ARGS)
|
|||
}
|
||||
|
||||
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_U64 | CTLFLAG_RW,
|
||||
0, 0, sysctl_machdep_tsc_freq, "QU", "");
|
||||
0, 0, sysctl_machdep_tsc_freq, "QU", "Time Stamp Counter frequency");
|
||||
|
||||
static unsigned
|
||||
tsc_get_timecount(struct timecounter *tc)
|
||||
|
|
Loading…
Reference in a new issue