Date: Mon, 27 Sep 2004 04:40:53 +0000 From: Joseph Koshy <joseph.koshy@gmail.com> To: obrien@freebsd.org Cc: freebsd-current@freebsd.org Subject: Re: [patch] <machine/cputypes.h> Message-ID: <84dead7204092621403fddd11e@mail.gmail.com> In-Reply-To: <20040927040137.GA3274@dragon.nuxi.com> References: <84dead72040926185171776b99@mail.gmail.com> <20040927040137.GA3274@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > #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 <cputypes.h> instead of defining them in <sys/pmc.h>.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead7204092621403fddd11e>