From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 16:17:59 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8B36106564A for ; Mon, 1 Mar 2010 16:17:59 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay1.uni-muenster.de (ZIVM-EXRELAY1.UNI-MUENSTER.DE [128.176.192.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6DED68FC19 for ; Mon, 1 Mar 2010 16:17:58 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,561,1262559600"; d="scan'208";a="297891461" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay1.uni-muenster.de with ESMTP; 01 Mar 2010 17:17:57 +0100 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id 896C41B07C1; Mon, 1 Mar 2010 17:17:57 +0100 (CET) Date: Mon, 01 Mar 2010 17:17:57 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Garrett Cooper , jhell Message-ID: In-Reply-To: <7d6fde3d1002281828hb5278d9sbb7a07f790b0da@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: [patch] extending {amd64|i386} cpu info X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 16:17:59 -0000 Garrett Cooper schrieb am 2010-03-01: > On Sun, Feb 28, 2010 at 5:43 PM, jhell wrote: > > On Fri, 26 Feb 2010 22:19, alexbestms@ wrote: > >> hi there, > >> i always forget how to decipher model and family from the cpu id. > >> of > >> course > >> there're 3rd party tools to do that for you, but instead i decided > >> to hack > >> the > >> kernel. ;) > >> maybe somebody finds these changes useful. > >> cheers. > >> alex > > What about the other arch's ? I only see i386 and amd64. I would > > think if > > this functionality is going to "make it in" that it should be done > > consistantly across the board, the way it is now. i'll have a look at the other archs to see if implementing this can be done just as easy as with i386 and amd64. alex > This is trivial enough of a change that I think it should be done > for amd64/i386. I say that because it may be a bit more difficult for > arm, mips, powerpc, sparc64, etc (probably not as much...). > Thanks, > -Garrett