FSConfig.py (11244:a2af58a06c4e) FSConfig.py (11291:9d2364203316)
1# Copyright (c) 2010-2012, 2015 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

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

649 else:
650 fatal("Don't know how to connect these system together")
651
652 if dumpfile:
653 self.etherdump = EtherDump(file=dumpfile)
654 self.etherlink.dump = Parent.etherdump
655
656 return self
1# Copyright (c) 2010-2012, 2015 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

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

649 else:
650 fatal("Don't know how to connect these system together")
651
652 if dumpfile:
653 self.etherdump = EtherDump(file=dumpfile)
654 self.etherlink.dump = Parent.etherdump
655
656 return self
657
658
659def makeDistRoot(testSystem,
660 rank,
661 size,
662 server_name,
663 server_port,
664 sync_repeat,
665 sync_start,
666 linkspeed,
667 linkdelay,
668 dumpfile):
669 self = Root(full_system = True)
670 self.testsys = testSystem
671
672 self.etherlink = DistEtherLink(speed = linkspeed,
673 delay = linkdelay,
674 dist_rank = rank,
675 dist_size = size,
676 server_name = server_name,
677 server_port = server_port,
678 sync_start = sync_start,
679 sync_repeat = sync_repeat)
680
681 if hasattr(testSystem, 'realview'):
682 self.etherlink.int0 = Parent.testsys.realview.ethernet.interface
683 elif hasattr(testSystem, 'tsunami'):
684 self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface
685 else:
686 fatal("Don't know how to connect DistEtherLink to this system")
687
688 if dumpfile:
689 self.etherdump = EtherDump(file=dumpfile)
690 self.etherlink.dump = Parent.etherdump
691
692 return self