Yes, that's right... it didn't click when you said before you were in 
stand-alone mode, but that is true that checkpoints only work in 
full-system mode because of the way the memory module works.  This is 
yet another thing we plan to have taken care of in v2.0, but in the 
meantime if you need the capability soon, your best bet is to put 
together serialize/unserialize support for the "main memory" object 
that's used by stand-alone (syscall emulation) mode.

Steve

Brinda Ganesh wrote:
> Hi
> 
> The problem seems that the checkpoint generated does not save relevant 
> program state. The checkpoint memory section is also completely blank. As 
> a result in this particular case when the program reaches a point where it 
> does a check for the input file name - it draws a blank and exits.
> 
> On further looking - I find that the functional memory - which has an 
> associated serialize functionality - is only instatiated in the Full 
> System build. I am using the Stand Alone model - and would like to know
> how I could configure my memory sub-system so that a checkpoint retains 
> the required memory data.
> 
> Thanks
> Brinda
> 
>   On Mon, 12 Jun 2006, Brinda Ganesh wrote:
> 
>> Hi
>>
>> I am using the Simple CPU in stand-alone mode with at least 2 processors.
>> I generated checkpoints as described in your tutorial (
>> using the --Serialize.cycle command line flag). I find that when the
>> simulator is made to take the input using the checkpoints ( by adding the
>> command line flag --Root.checkpoint) the simulator runs for several cycles
>> before halting with the following message
>>  Terminating simulation -- halt instruction encountered
>>
>> The benchmark when executed without a checkpoitn input does run past this
>> point.
>>
>> I was wondering if you could tell me what could be the problem and how I
>> would go about fixing it.
>>
>> Thanks
>> Brinda
>>
>>
>>
>>
>> _______________________________________________
>> m5sim-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/m5sim-users
>>
> 
> 
> _______________________________________________
> m5sim-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/m5sim-users


_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to