245,248c245
< print "draining the system"
< m5.drain(testsys)
< m5.switchCpus(repeat_switch_cpu_list)
< m5.resume(testsys)
---
> m5.switchCpus(testsys, repeat_switch_cpu_list)
439,443c436
< # when you change to Timing (or Atomic), you halt the system
< # given as argument. When you are finished with the system
< # changes (including switchCpus), you must resume the system
< # manually. You DON'T need to resume after just switching
< # CPUs if you haven't changed anything on the system level.
---
> m5.switchCpus(testsys, switch_cpu_list)
445,448d437
< m5.changeToTiming(testsys)
< m5.switchCpus(switch_cpu_list)
< m5.resume(testsys)
<
461,463c450
< m5.drain(testsys)
< m5.switchCpus(switch_cpu_list1)
< m5.resume(testsys)
---
> m5.switchCpus(testsys, switch_cpu_list1)