test.py revision 6654
16691Stjones1@inf.ed.ac.uk# Copyright (c) 2006-2007 The Regents of The University of Michigan 26691Stjones1@inf.ed.ac.uk# All rights reserved. 36691Stjones1@inf.ed.ac.uk# 46691Stjones1@inf.ed.ac.uk# Redistribution and use in source and binary forms, with or without 56691Stjones1@inf.ed.ac.uk# modification, are permitted provided that the following conditions are 66691Stjones1@inf.ed.ac.uk# met: redistributions of source code must retain the above copyright 76691Stjones1@inf.ed.ac.uk# notice, this list of conditions and the following disclaimer; 86691Stjones1@inf.ed.ac.uk# redistributions in binary form must reproduce the above copyright 96691Stjones1@inf.ed.ac.uk# notice, this list of conditions and the following disclaimer in the 106691Stjones1@inf.ed.ac.uk# documentation and/or other materials provided with the distribution; 116691Stjones1@inf.ed.ac.uk# neither the name of the copyright holders nor the names of its 126691Stjones1@inf.ed.ac.uk# contributors may be used to endorse or promote products derived from 136691Stjones1@inf.ed.ac.uk# this software without specific prior written permission. 146691Stjones1@inf.ed.ac.uk# 156691Stjones1@inf.ed.ac.uk# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 166691Stjones1@inf.ed.ac.uk# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 176691Stjones1@inf.ed.ac.uk# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 186691Stjones1@inf.ed.ac.uk# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 196691Stjones1@inf.ed.ac.uk# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 206691Stjones1@inf.ed.ac.uk# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 216691Stjones1@inf.ed.ac.uk# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 226691Stjones1@inf.ed.ac.uk# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 236691Stjones1@inf.ed.ac.uk# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 246691Stjones1@inf.ed.ac.uk# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 256691Stjones1@inf.ed.ac.uk# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 266691Stjones1@inf.ed.ac.uk# 276691Stjones1@inf.ed.ac.uk# Authors: Korey Sewell 286691Stjones1@inf.ed.ac.uk 296691Stjones1@inf.ed.ac.ukm5.util.addToPath('../configs/common') 306691Stjones1@inf.ed.ac.ukfrom cpu2000 import mcf 316691Stjones1@inf.ed.ac.uk 326691Stjones1@inf.ed.ac.ukworkload = mcf(isa, opsys, 'smred') 336691Stjones1@inf.ed.ac.ukroot.system.cpu.workload = workload.makeLiveProcess() 346691Stjones1@inf.ed.ac.ukroot.system.physmem.range=AddrRange('256MB') 356691Stjones1@inf.ed.ac.uk