From owner-freebsd-hackers Thu Nov 7 16:17: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EB8A37B401 for ; Thu, 7 Nov 2002 16:17:06 -0800 (PST) Received: from samx.dyndns.org (ool-18bd9e18.dyn.optonline.net [24.189.158.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C5343E75 for ; Thu, 7 Nov 2002 16:17:05 -0800 (PST) (envelope-from sam@pcuf.fi) Received: from samx.dyndns.org (sam@localhost [127.0.0.1]) by samx.dyndns.org (8.12.6/8.12.6) with ESMTP id gA80Gcve000524; Thu, 7 Nov 2002 19:16:38 -0500 (EST) (envelope-from sam@pcuf.fi) Content-Type: text/plain; charset="iso-8859-1" From: Sam Reply-To: sam@pcuf.fi To: Terry Lambert Subject: Re: cpu class & features Date: Thu, 7 Nov 2002 19:16:37 -0500 User-Agent: KMail/1.4.3 Cc: freebsd-hackers@FreeBSD.org References: <200211071712.46671.sam@pcuf.fi> <3DCAF949.8F5F891B@mindspring.com> In-Reply-To: <3DCAF949.8F5F891B@mindspring.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211071916.37988.sam@pcuf.fi> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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