Re: RFC: Adding a hw.features[2] sysctl

From: Ivan Voras <ivoras_at_freebsd.org>
Date: Mon, 14 Jan 2008 00:49:22 +0100
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).



Received on Sun Jan 13 2008 - 22:49:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC