kern/56451: [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU model

Alexander Best alexbestms at wwu.de
Sat Feb 27 01:40:02 UTC 2010


The following reply was made to PR kern/56451; it has been noted by GNATS.

From: Alexander Best <alexbestms at wwu.de>
To: <bug-followup at FreeBSD.org>
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+--


More information about the freebsd-emulation mailing list