On Tue, Mar 17, 2009 at 6:41 AM, Ali Saidi <[email protected]> wrote:
>
> I'm pretty sure the patch I was recently working on for SPARC_FS
> bundled unallocated and halted together.

Is there code I should start with there or something you want to
commit before I dive into this?

> There are different states as far as SPARC is concerned. I created a
> initCPU() function that all the ISAs execute at the beginning to do
> the correct thing for initialization. The Alpha CPUs start up
> immediately and start spinning at a known vector, while the SPARC ones
> wait for an explicit start IPI.

That makes sense... I don't see that the status is set in those
initCPU functions, but if different ISAs need different initial states
that seems like the place to do it.

> I think the Unallocated state comes
> from SE mode, where you want to differentiate between a CPU that has
> done exit() and one that has never been used, however maybe that
> doesn't really matter.

Yes, that's exactly where it came from (I wrote that code), and I
think part of the problem is that FS mode has always basically ignored
that state.  In retrospect as you say the distinction probably doesn't
matter so we can just collapse to three states.

Steve
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to