FSConfig.py (8643:2f18d1ab589f) FSConfig.py (8661:2d791d07c59b)
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 469 unchanged lines hidden (view full) ---

478def makeDualRoot(testSystem, driveSystem, dumpfile):
479 self = Root()
480 self.testsys = testSystem
481 self.drivesys = driveSystem
482 self.etherlink = EtherLink()
483 self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface
484 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
485
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 469 unchanged lines hidden (view full) ---

478def makeDualRoot(testSystem, driveSystem, dumpfile):
479 self = Root()
480 self.testsys = testSystem
481 self.drivesys = driveSystem
482 self.etherlink = EtherLink()
483 self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface
484 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
485
486 if hasattr(testSystem, 'realview'):
487 self.etherlink.int0 = Parent.testsys.realview.ethernet.interface
488 self.etherlink.int1 = Parent.drivesys.realview.ethernet.interface
489 elif hasattr(testSystem, 'tsunami'):
490 self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface
491 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
492 else:
493 fatal("Don't know how to connect these system together")
494
486 if dumpfile:
487 self.etherdump = EtherDump(file=dumpfile)
488 self.etherlink.dump = Parent.etherdump
489
490 return self
491
492def setMipsOptions(TestCPUClass):
493 #CP0 Configuration

--- 67 unchanged lines hidden ---
495 if dumpfile:
496 self.etherdump = EtherDump(file=dumpfile)
497 self.etherlink.dump = Parent.etherdump
498
499 return self
500
501def setMipsOptions(TestCPUClass):
502 #CP0 Configuration

--- 67 unchanged lines hidden ---