1# Copyright (c) 2006 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 69 unchanged lines hidden (view full) --- 78 self.sim_console = SimConsole(listener=ConsoleListener(port=3456)) 79 self.kernel = binary('vmlinux') 80 self.pal = binary('ts_osfpal') 81 self.console = binary('console') 82 self.boot_osflags = 'root=/dev/hda1 console=ttyS0' 83 84 return self 85 |
86def makeDualRoot(testSystem, driveSystem, dumpfile): |
87 self = Root() 88 self.testsys = testSystem 89 self.drivesys = driveSystem |
90 self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0], |
91 int2 = Parent.drivesys.tsunami.etherint[0]) 92 if dumpfile: 93 self.etherdump = EtherDump(file=dumpfile) 94 self.etherlink.dump = Parent.etherdump 95 |
96 self.clock = '1THz' 97 return self |