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 --- 58 unchanged lines hidden (view full) --- 67 self.tsunami.ide.pio = self.iobus.port 68 self.tsunami.ethernet.pio = self.iobus.port 69 self.simple_disk = SimpleDisk(disk=RawDiskImage(image_file = mdesc.disk(), 70 read_only = True)) 71 self.intrctrl = IntrControl() 72 self.mem_mode = mem_mode 73 self.sim_console = SimConsole(listener=ConsoleListener(port=3456)) 74 self.kernel = binary('vmlinux') |
75 self.pal = binary('ts_osfpal') |
76 self.console = binary('console') 77 self.boot_osflags = 'root=/dev/hda1 console=ttyS0' 78 79 return self 80 81def makeDualRoot(testSystem, driveSystem, dumpfile): 82 self = Root() 83 self.testsys = testSystem 84 self.drivesys = driveSystem 85 self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0], 86 int2 = Parent.drivesys.tsunami.etherint[0]) 87 if dumpfile: 88 self.etherdump = EtherDump(file=dumpfile) 89 self.etherlink.dump = Parent.etherdump 90 91 self.clock = '1THz' 92 return self |