diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2012-01-09 18:08:20 -0600 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2012-01-09 18:08:20 -0600 |
commit | bcb71963ebb3c226f4f36f6d5907c6fb3bc10b64 (patch) | |
tree | 3060f47740cf43f5819dd3496e5e56a2a872fe9c /configs/common | |
parent | 8d757038b53e04cf3048af3b2dcebe962f5c33f1 (diff) | |
download | gem5-bcb71963ebb3c226f4f36f6d5907c6fb3bc10b64.tar.xz |
ARM: Add support for running multiple systems
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/FSConfig.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index 3e0a3df2e..f54d63852 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -483,6 +483,15 @@ def makeDualRoot(testSystem, driveSystem, dumpfile): self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface + if hasattr(testSystem, 'realview'): + self.etherlink.int0 = Parent.testsys.realview.ethernet.interface + self.etherlink.int1 = Parent.drivesys.realview.ethernet.interface + elif hasattr(testSystem, 'tsunami'): + self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface + self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface + else: + fatal("Don't know how to connect these system together") + if dumpfile: self.etherdump = EtherDump(file=dumpfile) self.etherlink.dump = Parent.etherdump |