From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 27 01:40:02 2010 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51341065674 for ; Sat, 27 Feb 2010 01:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 79F4A8FC1F for ; Sat, 27 Feb 2010 01:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1R1e1vh055068 for ; Sat, 27 Feb 2010 01:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1R1e1g9055067; Sat, 27 Feb 2010 01:40:01 GMT (envelope-from gnats) Date: Sat, 27 Feb 2010 01:40:01 GMT Message-Id: <201002270140.o1R1e1g9055067@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Alexander Best Cc: Subject: Re: kern/56451: [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU model X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2010 01:40:02 -0000 The following reply was made to PR kern/56451; it has been noted by GNATS. From: Alexander Best To: Cc: Subject: Re: kern/56451: [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU model Date: Sat, 27 Feb 2010 02:32:53 +0100 (CET) This is a MIME encoded multipart message. --+permail-201002270132531e86ffa800006210-a_best01+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit actually it appears the patch i submitted isn't that hackish. this is exactly what's being done in i386/i386/identcpu.c and amd64/amd64/identcpu.c to output the cpu stepping. cheers. alex --+permail-201002270132531e86ffa800006210-a_best01+ Content-Type: text/plain Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename="linprocfs.c.patch.txt" SW5kZXg6IHN5cy9jb21wYXQvbGlucHJvY2ZzL2xpbnByb2Nmcy5jCj09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5 cy9jb21wYXQvbGlucHJvY2ZzL2xpbnByb2Nmcy5jCShyZXZpc2lvbiAyMDQzNzQpCisrKyBzeXMv Y29tcGF0L2xpbnByb2Nmcy9saW5wcm9jZnMuYwkod29ya2luZyBjb3B5KQpAQCAtMjczLDcgKzI3 Myw3IEBACiAJCSAgICAibW9kZWxcdFx0OiAlZFxuIgogCQkgICAgIm1vZGVsIG5hbWVcdDogJXNc biIKIAkJICAgICJzdGVwcGluZ1x0OiAlZFxuIiwKLQkJICAgIGksIGNwdV92ZW5kb3IsIGNsYXNz LCBjcHUsIG1vZGVsLCBjcHVfaWQgJiAweGYpOworCQkgICAgaSwgY3B1X3ZlbmRvciwgKGNwdV9p ZCAmIDB4ZjAwKSA+PiA4LCAoY3B1X2lkICYgMHhmMCkgPj4gNCwgbW9kZWwsIGNwdV9pZCAmIDB4 Zik7CiAJCS8qIFhYWCBwZXItY3B1IHZlbmRvciAvIGNsYXNzIC8gbW9kZWwgLyBpZD8gKi8KIAl9 CiAK --+permail-201002270132531e86ffa800006210-a_best01+--