fs.py (8926:570b44fe6e04) | fs.py (8956:1df031399919) |
---|---|
1# Copyright (c) 2010-2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 72 unchanged lines hidden (view full) --- 81 try: 82 bm = Benchmarks[options.benchmark] 83 except KeyError: 84 print "Error benchmark %s has not been defined." % options.benchmark 85 print "Valid benchmarks are: %s" % DefinedBenchmarks 86 sys.exit(1) 87else: 88 if options.dual: | 1# Copyright (c) 2010-2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 72 unchanged lines hidden (view full) --- 81 try: 82 bm = Benchmarks[options.benchmark] 83 except KeyError: 84 print "Error benchmark %s has not been defined." % options.benchmark 85 print "Valid benchmarks are: %s" % DefinedBenchmarks 86 sys.exit(1) 87else: 88 if options.dual: |
89 bm = [SysConfig(), SysConfig()] | 89 bm = [SysConfig(disk=options.disk_image, mem=options.mem_size), SysConfig(disk=options.disk_image, mem=options.mem_size)] |
90 else: | 90 else: |
91 bm = [SysConfig()] | 91 bm = [SysConfig(disk=options.disk_image, mem=options.mem_size)] |
92 93np = options.num_cpus 94 95if buildEnv['TARGET_ISA'] == "alpha": 96 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 97elif buildEnv['TARGET_ISA'] == "mips": 98 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0]) 99elif buildEnv['TARGET_ISA'] == "sparc": --- 90 unchanged lines hidden --- | 92 93np = options.num_cpus 94 95if buildEnv['TARGET_ISA'] == "alpha": 96 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 97elif buildEnv['TARGET_ISA'] == "mips": 98 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0]) 99elif buildEnv['TARGET_ISA'] == "sparc": --- 90 unchanged lines hidden --- |