config: Fix need to set ISA of switch cpus.
authorAustin Harris <austinharris@utexas.edu>
Sat, 2 Dec 2017 23:03:28 +0000 (17:03 -0600)
committerAustin Harris <austin.dane.harris@gmail.com>
Tue, 12 Dec 2017 02:11:28 +0000 (02:11 +0000)
commita51576e19c7f63930bc3b59c9a2e0a49cbc0bd81
treefd9afdbbc7114e5bc95494db1e6612b2a7c01e90
parent5b1704094c3949ac91074bc61c0381b74ba53135
config: Fix need to set ISA of switch cpus.

Since BaseCPU.createThreads() no longer overrides the BaseCPU.isa
parameter, switch_cpus should have the ISA copied. This fixes a
fatal error in BaseCPU when restoring from a checkpoint.

Change-Id: I4fdcacb76da46bdbe1ce37dcf05c5a6a8a9e5237
Signed-off-by: Austin Harris <austinharris@utexas.edu>
Reviewed-on: https://gem5-review.googlesource.com/6241
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
configs/common/Simulation.py