fs.py (5457:08bd3709d482) fs.py (5822:05ffa2c3c800)
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

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

26#
27# Authors: Ali Saidi
28
29import optparse, os, sys
30
31import m5
32
33if not m5.build_env['FULL_SYSTEM']:
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

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

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).")
34 m5.fatal("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 *

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

100 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0])
101elif m5.build_env['TARGET_ISA'] == "mips":
102 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0])
103elif m5.build_env['TARGET_ISA'] == "sparc":
104 test_sys = makeSparcSystem(test_mem_mode, bm[0])
105elif m5.build_env['TARGET_ISA'] == "x86":
106 test_sys = makeLinuxX86System(test_mem_mode, bm[0])
107else:
35
36from m5.objects import *
37m5.AddToPath('../common')
38from FSConfig import *
39from SysPaths import *
40from Benchmarks import *
41import Simulation
42from Caches import *

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

100 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0])
101elif m5.build_env['TARGET_ISA'] == "mips":
102 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0])
103elif m5.build_env['TARGET_ISA'] == "sparc":
104 test_sys = makeSparcSystem(test_mem_mode, bm[0])
105elif m5.build_env['TARGET_ISA'] == "x86":
106 test_sys = makeLinuxX86System(test_mem_mode, bm[0])
107else:
108 m5.panic("incapable of building non-alpha or non-sparc full system!")
108 m5.fatal("incapable of building non-alpha or non-sparc full system!")
109
110if options.kernel is not None:
111 test_sys.kernel = binary(options.kernel)
112
113if options.script is not None:
114 test_sys.readfile = options.script
115
116np = options.num_cpus

--- 56 unchanged lines hidden ---
109
110if options.kernel is not None:
111 test_sys.kernel = binary(options.kernel)
112
113if options.script is not None:
114 test_sys.readfile = options.script
115
116np = options.num_cpus

--- 56 unchanged lines hidden ---