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 --- 15 unchanged lines hidden (view full) --- 24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26# 27# Authors: Ali Saidi 28 29import optparse, os, sys 30 31import m5 |
32 33if not m5.build_env['FULL_SYSTEM']: 34 m5.panic("This script requires full-system mode (*_FS).") 35 |
36from m5.objects import * 37m5.AddToPath('../common') 38from FSConfig import * 39from SysPaths import * 40from Benchmarks import * 41import Simulation 42from Caches import * 43 |
44# Get paths we might need. It's expected this file is in m5/configs/example. 45config_path = os.path.dirname(os.path.abspath(__file__)) 46config_root = os.path.dirname(config_path) 47 48parser = optparse.OptionParser() 49 50# System options 51parser.add_option("--kernel", action="store", type="string") --- 121 unchanged lines hidden --- |