Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 22:52:43 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 64-bit values in sysctl
Message-ID:  <xzpishuddxw.fsf@dwp.des.no>
In-Reply-To: <20040225211523.GA3031@box1.cran> (Bruce Cran's message of "Wed, 25 Feb 2004 21:15:23 %2B0000")
References:  <20040225211523.GA3031@box1.cran>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Cran <bruce@cran.org.uk> writes:
> I've also noticed that the machdep.[i8254_freq, tsc_freq,
> acpi_timer_freq] are all writable, whereas I think they should
> probably be read-only, as should kern.bootfile.

These are all intentionally writable.  The timer frequencies need to
be writable to allow proper operation on systems with broken hardware
clocks, and kern.bootfile is updated by 'make installkernel' when the
current kernel is moved aside to make place for the new one.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpishuddxw.fsf>