Garrett D'Amore wrote:
[EMAIL PROTECTED] wrote:
Alexander Kolbasov wrote:
psrinfo -vp currently outputs processor IDs in 'digested' form:
The physical processor has 1 virtual processor (0)
x86 (AuthenticAMD family 15 model 37 step 1 clock 2210 MHz)
AMD Opteron(tm) Processor 848
Note that psrinfo doesn't do anything smart here. It just prints whatever
value of the implementation string is provided in cpu_info kstat. The value
itself is completely determined by the platform code.
oh, yes, absolutely; the change is actually to the kernel. The only place I
know that string is *used* is in psrinfo, but it does in fact show up in "kstat
cpu_info" as well.
I would think that this is a useful change to make; I have on occassion
needed to either read the register directly or convert it back.
+1. :-) There are some bits there that aren't exposed via kstat now.
I needed this with certain Via processors, for example.
I'm not proposing to add any information, only to reformat what's there.
(The new hex code only represents family/model/stepping; it doesn't encode
any other feature bits or anything else. It's just literally printing EAX
from page 1 of CPUID.)
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code