Thomas De Schampheleire writes:
> > But see cmi_load_module(), where we load up per-vendor CPU modules,
> > and the existing files under /platform/i86pc/kernel/cpu/.
> 
> 
> I should mention that I am using UltraSPARC, and there doesn't seem to be
> such cmi_* functions there. Are there other equivalents? The ones in x86 do
> seem interesting, but I wonder whether a CPU can have two cmi modules
> connected to it? I only want to implement its power management, not the rest
> of the handling.

It's currently all bound up together, as best I understand it, because
there's no separate "CPU driver."

The entry point is cpu_setup(), which is present in each of the
per-CPU modules.

Are you designing your own SPARC CPU?  If not, then I *think* you want
to modify one of the existing modules to do what it is you need.
Otherwise, I'm just confused.  I don't understand what you're
attempting to do, because I thought the existing code already does
power management ...

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to