Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 00:49:22 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: RFC: Adding a hw.features[2] sysctl
Message-ID:  <fme823$2c3$1@ger.gmane.org>
In-Reply-To: <20080113182457.GN929@server.vk2pj.dyndns.org>
References:  <1200197787.67286.13.camel@shumai.marcuscom.com>	<20080113064450.GW57756@deviant.kiev.zoral.com.ua> <20080113182457.GN929@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Peter Jeremy wrote:

> A userland program could perform the cpuid functions itself just as
> easily as extracting the information from a sysctl.

In theory, yes, but not if it's a "system overview" kind of tool not 
written by someone who knows assembler or for someone who just wants to 
call a library's "enableSSE()" function, or if the program's not written 
in C...

It would be a good thing to have this facility, and done right (not like 
text-parsing /proc/cpuinfo in Linux).



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiqOCldnAQVacBcgRAj5wAJ9++5JsZxx9/w2kQ6X8ro3mwkHc1gCeOFs4
iO8DOy4S/i/Zz3WUMCOReUk=
=FDAU
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fme823$2c3$1>