"Michael" == Michael Closson <[EMAIL PROTECTED]> writes: Michael> For Sparc procs (like Niagra), I don't know how to get this Michael> information. Is there an assemply language instruction Michael> similar to CPUID?
Of course, you can always look at the OpenSolaris kernel code to try to figure this out. Also, if it's not available through some SPARC instruction, perhaps there's a hypervisor interface. Check out the API specification at <URL:http://opensparc.info/cgi-bin/goto.php?w=http://opensparc-t1.sunsource.net/specs/Hypervisor-api-current-draft.pdf>. That same document talks about the machine description. I'm pretty sure this information is not currently in the machine description, as we're currently having a debate internal to the Sun sun4v team on whether and how to expose these details. -- Dave Marquardt Sun Microsystems, Inc. Austin, TX +1 512 401-1077 (SUN internal: x64077) _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code