changeset 1040cd2252d4 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=1040cd2252d4
description:
config: Allow SPARC FS image to be specified on the command line
At the moment the SPARC FS machine configuration comes with a hardcoded
value for using the Solaris 10 disk image from the OpenSPARC tarball.
The
--disk-image option is completely ignored for SPARC. This simple patch
modifies the behavior so that --disk-image option is both taken into
account and also required. This makes it possible to easily change
SPARC FS
images without having to modify the configuration files.
diffstat:
configs/common/FSConfig.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a16337161285 -r 1040cd2252d4 configs/common/FSConfig.py
--- a/configs/common/FSConfig.py Tue Jul 19 09:48:56 2016 -0500
+++ b/configs/common/FSConfig.py Tue Jul 19 09:52:46 2016 -0500
@@ -169,7 +169,7 @@
self.partition_desc.port = self.membus.master
self.intrctrl = IntrControl()
self.disk0 = CowMmDisk()
- self.disk0.childImage(disk('disk.s10hw2'))
+ self.disk0.childImage(mdesc.disk())
self.disk0.pio = self.iobus.master
# The puart0 and hvuart are placed on the IO bus, so create ranges
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev