Document a few sysctls.

Approved by:	imp
This commit is contained in:
Tom Rhodes 2008-08-03 14:11:06 +00:00
parent 4f7afc20e0
commit 942df7e765
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181236
2 changed files with 7 additions and 5 deletions

View File

@ -236,22 +236,23 @@ sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, CPU_ADJKERNTZ, adjkerntz, CTLTYPE_INT | CTLFLAG_RW,
&adjkerntz, 0, sysctl_machdep_adjkerntz, "I", "");
&adjkerntz, 0, sysctl_machdep_adjkerntz, "I",
"Local offset from GMT in seconds");
#endif /* PORT_TO_JMIPS */
#ifdef PORT_TO_JMIPS
/* art */
SYSCTL_INT(_machdep, CPU_DISRTCSET, disable_rtc_set, CTLFLAG_RW,
&disable_rtc_set, 0, "");
&disable_rtc_set, 0, "Disable setting the real time clock to system time");
#endif /* PORT_TO_JMIPS */
SYSCTL_STRUCT(_machdep, CPU_BOOTINFO, bootinfo, CTLFLAG_RD, &bootinfo,
bootinfo, "");
bootinfo, "Bootinfo struct: kernel filename, BIOS harddisk geometry, etc");
#ifdef PORT_TO_JMIPS
/* dchu */
SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock, CTLFLAG_RW,
&wall_cmos_clock, 0, "");
&wall_cmos_clock, 0, "Wall CMOS clock assumed");
#endif /* PORT_TO_JMIPS */
/*

View File

@ -186,7 +186,8 @@ sysctl_machdep_counter_freq(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, OID_AUTO, counter_freq, CTLTYPE_QUAD | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_counter_freq, "IU", "");
0, sizeof(u_int), sysctl_machdep_counter_freq, "IU",
"Timecounter frequency in Hz");
static unsigned
counter_get_timecount(struct timecounter *tc)