mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
Remove i386-ish sysctls. Also, make the bootinfo sysctl OID_AUTO.
This commit is contained in:
parent
0dd04e5470
commit
3e2b3b68d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210098
@ -253,24 +253,9 @@ cpu_halt(void)
|
||||
;
|
||||
}
|
||||
|
||||
SYSCTL_STRUCT(_machdep, CPU_BOOTINFO, bootinfo, CTLFLAG_RD, &bootinfo,
|
||||
SYSCTL_STRUCT(_machdep, OID_AUTO, bootinfo, CTLFLAG_RD, &bootinfo,
|
||||
bootinfo, "Bootinfo struct: kernel filename, BIOS harddisk geometry, etc");
|
||||
|
||||
#ifdef PORT_TO_JMIPS
|
||||
static int
|
||||
sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
}
|
||||
|
||||
SYSCTL_PROC(_machdep, CPU_ADJKERNTZ, adjkerntz, CTLTYPE_INT | CTLFLAG_RW,
|
||||
&adjkerntz, 0, sysctl_machdep_adjkerntz, "I",
|
||||
"Local offset from GMT in seconds");
|
||||
SYSCTL_INT(_machdep, CPU_DISRTCSET, disable_rtc_set, CTLFLAG_RW,
|
||||
&disable_rtc_set, 0, "Disable setting the real time clock to system time");
|
||||
SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock, CTLFLAG_RW,
|
||||
&wall_cmos_clock, 0, "Wall CMOS clock assumed");
|
||||
#endif /* PORT_TO_JMIPS */
|
||||
|
||||
/*
|
||||
* Initialize per cpu data structures, include curthread.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user