Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 19:16:37 -0500
From:      Sam <sam@pcuf.fi>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: cpu class & features
Message-ID:  <200211071916.37988.sam@pcuf.fi>
In-Reply-To: <3DCAF949.8F5F891B@mindspring.com>
References:  <200211071712.46671.sam@pcuf.fi> <3DCAF949.8F5F891B@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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


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?200211071916.37988.sam>