Date: Wed, 23 Dec 2009 04:48:42 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ia64/ia64 clock.c machdep.c src/sys/ia64/include clock.h md_var.h Message-ID: <200912230448.nBN4mvBr043962@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2009-12-23 04:48:42 UTC FreeBSD src repository Modified files: sys/ia64/ia64 clock.c machdep.c sys/ia64/include clock.h md_var.h Log: SVN rev 200889 on 2009-12-23 04:48:42Z by marcel Export the bus, cpu and itc frequencies under the hw.freq sysctl node. The frequencies are in MHz (i.e. a value of 1000 represents 1GHz). The frequencies are rounded to the nearest whole MHz. While here, rename and re-type bus_frequency, processor_frequency and itc_frequency to bus_freq, cpu_freq and itc_freq and make them static. As unsigned integers, the hw.freq.cpu sysctl can more easily be made generic (across all architectures) making porting easier. MFC after: 3 days Revision Changes Path 1.36 +5 -4 src/sys/ia64/ia64/clock.c 1.252 +37 -22 src/sys/ia64/ia64/machdep.c 1.13 +0 -1 src/sys/ia64/include/clock.h 1.31 +1 -0 src/sys/ia64/include/md_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912230448.nBN4mvBr043962>