FSConfig.py (3005:ceb86e85d62d) FSConfig.py (3025:00fe36086a14)
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
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):
86def makeDualRoot(testSystem, driveSystem, dumpfile):
87 self = Root()
88 self.testsys = testSystem
89 self.drivesys = driveSystem
87 self = Root()
88 self.testsys = testSystem
89 self.drivesys = driveSystem
90
91 self.etherdump = EtherDump(file='ethertrace')
92 self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0],
90 self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0],
93 int2 = Parent.drivesys.tsunami.etherint[0],
94 dump = Parent.etherdump)
91 int2 = Parent.drivesys.tsunami.etherint[0])
92 if dumpfile:
93 self.etherdump = EtherDump(file=dumpfile)
94 self.etherlink.dump = Parent.etherdump
95
95 self.clock = '1THz'
96 return self
96 self.clock = '1THz'
97 return self