t1000-simple-atomic.py (11682:612f75cf36a0) t1000-simple-atomic.py (13718:89e8bcc7253b)
1# Copyright (c) 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

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

46# create the interrupt controller
47cpu.createInterruptController()
48cpu.connectAllPorts(system.membus)
49
50# create the memory controllers and connect them, stick with
51# the physmem name to avoid bumping all the reference stats
52system.physmem = [SimpleMemory(range = r)
53 for r in system.mem_ranges]
1# Copyright (c) 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

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

46# create the interrupt controller
47cpu.createInterruptController()
48cpu.connectAllPorts(system.membus)
49
50# create the memory controllers and connect them, stick with
51# the physmem name to avoid bumping all the reference stats
52system.physmem = [SimpleMemory(range = r)
53 for r in system.mem_ranges]
54for i in xrange(len(system.physmem)):
54for i in range(len(system.physmem)):
55 system.physmem[i].port = system.membus.master
56
57root = Root(full_system=True, system=system)
58
59m5.ticks.setGlobalFrequency('2GHz')
55 system.physmem[i].port = system.membus.master
56
57root = Root(full_system=True, system=system)
58
59m5.ticks.setGlobalFrequency('2GHz')