diff options
author | Gabe Black <gabeblack@google.com> | 2017-04-03 15:50:24 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-04-05 18:35:24 +0000 |
commit | 4c66d002f698d10a70aa9c1a7cf9d8d4b176edcf (patch) | |
tree | 5345885132c4602ff12b1e51e1df39351a8988ec /configs/common | |
parent | 7fbe733d18d3e7340102d42cb00e4d421bf52fa0 (diff) | |
download | gem5-4c66d002f698d10a70aa9c1a7cf9d8d4b176edcf.tar.xz |
config: Add a default system disk image for SPARC FS.
When the change below removed the hard coded disk name for the SPARC FS
configuration, it broke the regression which had not specified a disk name.
This change adds a default disk name so that the regression will continue to
work like it used to, but preserving the effect of this other change.
commit 86a25bbcee88f6e69299867b6264885d738f636e
Author: Jakub Jermar <jakub@jermar.eu>
Date: Tue Jul 19 09:52:46 2016 -0500
config: Allow SPARC FS image to be specified on the command line
Change-Id: Ieb317b2bf573a4f2fc435d34cccd1f246c28d84c
Reviewed-on: https://gem5-review.googlesource.com/2645
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/Benchmarks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/common/Benchmarks.py b/configs/common/Benchmarks.py index bf0a2ad88..dec1e3e84 100644 --- a/configs/common/Benchmarks.py +++ b/configs/common/Benchmarks.py @@ -60,6 +60,8 @@ class SysConfig: return env.get('LINUX_IMAGE', disk('x86root.img')) elif buildEnv['TARGET_ISA'] == 'arm': return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img')) + elif buildEnv['TARGET_ISA'] == 'sparc': + return env.get('LINUX_IMAGE', disk('disk.s10hw2')) else: print "Don't know what default disk image to use for %s ISA" % \ buildEnv['TARGET_ISA'] |