Deleted Added
sdiff udiff text old ( 3584:8c3cdb2c001c ) new ( 3743:2061715f68d1 )
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

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

79 return self
80
81def makeSparcSystem(mem_mode, mdesc = None):
82 self = SparcSystem()
83 if not mdesc:
84 # generic system
85 mdesc = SysConfig()
86 self.readfile = mdesc.script()
87 self.membus = Bus(bus_id=1)
88 self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem()))
89 self.physmem.port = self.membus.port
90 self.rom.port = self.membus.port
91 self.intrctrl = IntrControl()
92 self.mem_mode = mem_mode
93 self.kernel = binary('vmlinux')
94
95 self.reset_bin = binary('reset.bin')
96 self.hypervisor_bin = binary('q.bin')

--- 17 unchanged lines hidden ---