config: Add a default system disk image for SPARC FS.
authorGabe Black <gabeblack@google.com>
Mon, 3 Apr 2017 22:50:24 +0000 (15:50 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Apr 2017 18:35:24 +0000 (18:35 +0000)
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>
configs/common/Benchmarks.py

index bf0a2ad88f9bc6770227b08acb9c3405bb6eb8d1..dec1e3e84059a29bffa4a1351772c493db5e0b1d 100644 (file)
@@ -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']