Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SIMH CPU-idleing support



On Nov 21, 2010, at 1:17 PM, Dave McGuire wrote:

> On 11/19/10, you wrote:
>> Instead of whacking idle loop to look again like somthing that simh
>> heuristic can detect, may be we can invent an "idle" instruction,
>> that is side-effect free on real hw, but which simh can detect and
>> treat as a request to sleep until next interrupt?
> 
>  Hmm yes, perhaps a "SIMH_IDLE" kernel option that "cheats" a bit by
> somehow notifying simh that it's going idle?  I for one would appreciate
> something like that.

Matt Thomas's suggested magic instruction seems pretty workable without needing 
any sort of option.

-- thorpej



Home | Main Index | Thread Index | Old Index