fs.py (5299:e61b9f2a9732) | fs.py (5457:08bd3709d482) |
---|---|
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 | 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 |
|
32from m5.objects import * 33m5.AddToPath('../common') 34from FSConfig import * 35from SysPaths import * 36from Benchmarks import * 37import Simulation 38from Caches import * 39 | 36from m5.objects import * 37m5.AddToPath('../common') 38from FSConfig import * 39from SysPaths import * 40from Benchmarks import * 41import Simulation 42from Caches import * 43 |
40if not m5.build_env['FULL_SYSTEM']: 41 m5.panic("This script requires full-system mode (ALPHA_FS).") 42 | |
43# Get paths we might need. It's expected this file is in m5/configs/example. 44config_path = os.path.dirname(os.path.abspath(__file__)) 45config_root = os.path.dirname(config_path) 46 47parser = optparse.OptionParser() 48 49# System options 50parser.add_option("--kernel", action="store", type="string") --- 121 unchanged lines hidden --- | 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 --- |