Deleted Added
sdiff udiff text old ( 3823:1c8f87aa103e ) new ( 3898:42a529d97cf2 )
full compact
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
9# notice, this list of conditions and the following disclaimer in the

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

33
34class CowIdeDisk(IdeDisk):
35 image = CowDiskImage(child=RawDiskImage(read_only=True),
36 read_only=False)
37
38 def childImage(self, ci):
39 self.image.child.image_file = ci
40
41class BaseTsunami(Tsunami):
42 ethernet = NSGigE(configdata=NSGigEPciData(),
43 pci_bus=0, pci_dev=1, pci_func=0)
44 etherint = NSGigEInt(device=Parent.ethernet)
45 ide = IdeController(disks=[Parent.disk0, Parent.disk2],
46 pci_func=0, pci_dev=0, pci_bus=0)
47
48def makeLinuxAlphaSystem(mem_mode, mdesc = None):

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

95 self.bridge.side_b = self.membus.port
96 self.physmem.port = self.membus.port
97 self.physmem2.port = self.membus.port
98 self.rom.port = self.membus.port
99 self.nvram.port = self.membus.port
100 self.hypervisor_desc.port = self.membus.port
101 self.partition_desc.port = self.membus.port
102 self.intrctrl = IntrControl()
103 self.mem_mode = mem_mode
104
105 self.reset_bin = binary('reset.bin')
106 self.hypervisor_bin = binary('q.bin')
107 self.openboot_bin = binary('openboot.bin')
108 self.nvram_bin = binary('nvram1')
109 self.hypervisor_desc_bin = binary('1up-hv.bin')
110 self.partition_desc_bin = binary('1up-md.bin')
111
112 return self

--- 14 unchanged lines hidden ---