From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 04:41:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1306D16A4CF for ; Mon, 27 Sep 2004 04:41:12 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A19A643D1F for ; Mon, 27 Sep 2004 04:41:11 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so2979172rnk for ; Sun, 26 Sep 2004 21:41:08 -0700 (PDT) Received: by 10.38.2.75 with SMTP id 75mr1092231rnb; Sun, 26 Sep 2004 21:40:58 -0700 (PDT) Received: by 10.38.13.17 with HTTP; Sun, 26 Sep 2004 21:40:53 -0700 (PDT) Message-ID: <84dead7204092621403fddd11e@mail.gmail.com> Date: Mon, 27 Sep 2004 04:40:53 +0000 From: Joseph Koshy To: obrien@freebsd.org In-Reply-To: <20040927040137.GA3274@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <84dead72040926185171776b99@mail.gmail.com> <20040927040137.GA3274@dragon.nuxi.com> cc: freebsd-current@freebsd.org Subject: Re: [patch] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joseph Koshy List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 04:41:12 -0000 > > #define CPU_GEODE1100 17 /* NS Geode SC1100 */ > > +#define CPU_K7 18 /* AMD K7 */ > > +#define CPU_K8 19 /* AMD K8 (in X86 mode) */ > ^^^^^^^^^^^^^^^^ > K8 is an x86 CPU, > I think you mean 32-bit > mode. Yes. > What are these values used for? A grep finds that we set them > inconsistently and that they aren't used anywhere other than > CPU_GEODE1100 in i386/i386/vm_machdep.c. The pmc(4) driver (being written) needs a way of informing the userland libpmc(3) (also being written) about the kind of CPU present in the system and I thought I could use the symbols in instead of defining them in .