fs.py (5254:c555f8b07345) | fs.py (5299:e61b9f2a9732) |
---|---|
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 --- 88 unchanged lines hidden (view full) --- 97 98if m5.build_env['TARGET_ISA'] == "alpha": 99 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 100elif m5.build_env['TARGET_ISA'] == "mips": 101 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0]) 102elif m5.build_env['TARGET_ISA'] == "sparc": 103 test_sys = makeSparcSystem(test_mem_mode, bm[0]) 104elif m5.build_env['TARGET_ISA'] == "x86": | 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 --- 88 unchanged lines hidden (view full) --- 97 98if m5.build_env['TARGET_ISA'] == "alpha": 99 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 100elif m5.build_env['TARGET_ISA'] == "mips": 101 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0]) 102elif m5.build_env['TARGET_ISA'] == "sparc": 103 test_sys = makeSparcSystem(test_mem_mode, bm[0]) 104elif m5.build_env['TARGET_ISA'] == "x86": |
105 test_sys = makeX86System(test_mem_mode, bm[0]) | 105 test_sys = makeLinuxX86System(test_mem_mode, bm[0]) |
106else: 107 m5.panic("incapable of building non-alpha or non-sparc full system!") 108 109if options.kernel is not None: 110 test_sys.kernel = binary(options.kernel) 111 112if options.script is not None: 113 test_sys.readfile = options.script --- 58 unchanged lines hidden --- | 106else: 107 m5.panic("incapable of building non-alpha or non-sparc full system!") 108 109if options.kernel is not None: 110 test_sys.kernel = binary(options.kernel) 111 112if options.script is not None: 113 test_sys.readfile = options.script --- 58 unchanged lines hidden --- |