From owner-freebsd-smp Fri Jan 5 14:36:55 2001 From owner-freebsd-smp@FreeBSD.ORG Fri Jan 5 14:36:53 2001 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id A0A6537B400 for ; Fri, 5 Jan 2001 14:36:53 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f05MarE18574; Fri, 5 Jan 2001 14:36:53 -0800 (PST) Date: Fri, 5 Jan 2001 14:36:53 -0800 From: Alfred Perlstein To: Jake Burkholder Cc: smp@FreeBSD.ORG, jake@cr66388-a.rchrd1.on.wave.home.com Subject: Re: [patch] cpuid on UP systems Message-ID: <20010105143653.S15744@fw.wintelcom.net> References: <20010105212636.E43C9BA7D@cr66388-a.rchrd1.on.wave.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010105212636.E43C9BA7D@cr66388-a.rchrd1.on.wave.home.com>; from jake@cr66388-a.rchrd1.on.wave.home.c on Fri, Jan 05, 2001 at 04:26:36PM -0500 Sender: bright@fw.wintelcom.net Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Jake Burkholder [010105 13:31] wrote: > > I need cpuid to work on UP systems, this untested patch seems to > > compile ok, I'm wondering if I'm headed in the right direction here? > > > > John, Jake? > > > > No, please wait a little. I will do a major overhaul of the per-cpu > variable stuff this weekend which will make cpuid and some other things > ubiquitous. Also, what about hw.ncpu? There doesn't seem to be a nice way of getting this, basically if SMP is defined it's named something different than with it defined. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message