|
I believe the problem here is that cpu and
cpu2 need to be part of the system (somewhere) in order to be instantiated by m5’s
configuration parsing. The error that it’s giving you means that
you didn’t have those two CPUs as part of the configuration that actually
gets instantiated. Thus when it tries to switch between the CPUs, it
finds that the CPUs have no corresponding object within the running instance of
m5. Try making your switch_cpu_list as a child of either the root object or
a system object (I believe you should just be able to do “root.switch_cpus
= switch_cpu_list” or something along those lines). I’ll try
to clean up the Wiki to clarify that when I get a better example. Kevin From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of James Anon I am trying to use the m5.switchCpus function to quickly simulate pass
the linux booting stage, and then switch to detailed mode after the full system
is booted. I followed the wiki page and have made minor modifications to
the fs.py example script including: |
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
