1# Copyright (c) 2006-2007 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
--- 104 unchanged lines hidden (view full) ---
113 self.hypervisor_bin = binary('q_new.bin')
114 self.openboot_bin = binary('openboot_new.bin')
115 self.nvram_bin = binary('nvram1')
116 self.hypervisor_desc_bin = binary('1up-hv.bin')
117 self.partition_desc_bin = binary('1up-md.bin')
118
119 return self
120
121
122def makeDualRoot(testSystem, driveSystem, dumpfile):
123 self = Root()
124 self.testsys = testSystem
125 self.drivesys = driveSystem
126 self.etherlink = EtherLink()
127 self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface
128 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
129
130 if dumpfile:
131 self.etherdump = EtherDump(file=dumpfile)
132 self.etherlink.dump = Parent.etherdump
133
134 return self
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
--- 104 unchanged lines hidden (view full) ---
113 self.hypervisor_bin = binary('q_new.bin')
114 self.openboot_bin = binary('openboot_new.bin')
115 self.nvram_bin = binary('nvram1')
116 self.hypervisor_desc_bin = binary('1up-hv.bin')
117 self.partition_desc_bin = binary('1up-md.bin')
118
119 return self
120
121
122def makeDualRoot(testSystem, driveSystem, dumpfile):
123 self = Root()
124 self.testsys = testSystem
125 self.drivesys = driveSystem
126 self.etherlink = EtherLink()
127 self.etherlink.int0 = Parent.testsys.tsunami.ethernet.interface
128 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
129
130 if dumpfile:
131 self.etherdump = EtherDump(file=dumpfile)
132 self.etherlink.dump = Parent.etherdump
133
134 return self