Date: Fri, 8 Nov 2002 02:38:46 +0200 (EET) From: Vladimir Kushnir <vkushnir@alfacom.net> To: Sam <sam@pcuf.fi> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: cpu class & features Message-ID: <20021108023635.W8622-100000@kushnir1.kiev.ua> In-Reply-To: <200211071916.37988.sam@pcuf.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Nov 2002, Sam wrote: > On Thursday 07 November 2002 06:37 pm, Terry Lambert wrote: > > Sam wrote: > > > I'm writing an application that needs info on the machine cpu > > > architecture, the cpu class, and the cpu features. > > > > Is this a status display (e.g. "About This Computer...") for a human > > to read? If not, the entire point of an OS is to hide that information > > from you, so that you can write code that runs on the OS, instead of > > writing code that runs only on particular hardware. > > No. If you really need to know, it is for implementing a Windows API call > on FreeBSD for Wine. > > I'm not interested in getting into a flame war on what a point of an OS > is, what should be allowed and what should not. But there are _many_ > other legitimate reasons to need that info other than "about this > computer" display. > > > -- Terry > > Sam > Take a look at MPlayer sources (ports/graphic/mplayer). They got what you need in TOOLS/cpuinfo.c Regards, Vladimir -- Vladimir Kushnir - vkushnir@Alfacom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021108023635.W8622-100000>