FSConfig.py (4094:1950ef76ddf9) FSConfig.py (4103:785279436bdd)
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

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

106 self.rom.port = self.membus.port
107 self.nvram.port = self.membus.port
108 self.hypervisor_desc.port = self.membus.port
109 self.partition_desc.port = self.membus.port
110 self.intrctrl = IntrControl()
111 self.disk0 = CowMmDisk()
112 self.disk0.childImage(disk('disk.s10hw2'))
113 self.disk0.pio = self.iobus.port
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

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

106 self.rom.port = self.membus.port
107 self.nvram.port = self.membus.port
108 self.hypervisor_desc.port = self.membus.port
109 self.partition_desc.port = self.membus.port
110 self.intrctrl = IntrControl()
111 self.disk0 = CowMmDisk()
112 self.disk0.childImage(disk('disk.s10hw2'))
113 self.disk0.pio = self.iobus.port
114 self.reset_bin = binary('reset.bin')
115 self.hypervisor_bin = binary('q.bin')
116 self.openboot_bin = binary('openboot.bin')
114 self.reset_bin = binary('reset_new.bin')
115 self.hypervisor_bin = binary('q_new.bin')
116 self.openboot_bin = binary('openboot_new.bin')
117 self.nvram_bin = binary('nvram1')
118 self.hypervisor_desc_bin = binary('1up-hv.bin')
119 self.partition_desc_bin = binary('1up-md.bin')
120
121 return self
122
123
124def makeDualRoot(testSystem, driveSystem, dumpfile):
125 self = Root()
126 self.testsys = testSystem
127 self.drivesys = driveSystem
128 self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0],
129 int2 = Parent.drivesys.tsunami.etherint[0])
130 if dumpfile:
131 self.etherdump = EtherDump(file=dumpfile)
132 self.etherlink.dump = Parent.etherdump
133
134 self.clock = '1THz'
135 return self
117 self.nvram_bin = binary('nvram1')
118 self.hypervisor_desc_bin = binary('1up-hv.bin')
119 self.partition_desc_bin = binary('1up-md.bin')
120
121 return self
122
123
124def makeDualRoot(testSystem, driveSystem, dumpfile):
125 self = Root()
126 self.testsys = testSystem
127 self.drivesys = driveSystem
128 self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0],
129 int2 = Parent.drivesys.tsunami.etherint[0])
130 if dumpfile:
131 self.etherdump = EtherDump(file=dumpfile)
132 self.etherlink.dump = Parent.etherdump
133
134 self.clock = '1THz'
135 return self