gem5-dist.sh (11291:9d2364203316) gem5-dist.sh (11444:219c5fe8fa0e)
1#! /bin/bash
2
3#
4# Copyright (c) 2015 ARM Limited
5# All rights reserved
6#
7# The license below extends only to copyright in the software and shall
8# not be construed as granting a license to any other intellectual

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

163 usage_func
164 exit 1
165 ;;
166 esac
167done
168
169# Default values to use (in case they are not defined as command line options)
170DEFAULT_FS_CONFIG=$M5_PATH/configs/example/fs.py
1#! /bin/bash
2
3#
4# Copyright (c) 2015 ARM Limited
5# All rights reserved
6#
7# The license below extends only to copyright in the software and shall
8# not be construed as granting a license to any other intellectual

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

163 usage_func
164 exit 1
165 ;;
166 esac
167done
168
169# Default values to use (in case they are not defined as command line options)
170DEFAULT_FS_CONFIG=$M5_PATH/configs/example/fs.py
171DEFAULT_SW_CONFIG=$M5_PATH/configs/example/sw.py
171DEFAULT_SW_CONFIG=$M5_PATH/configs/dist/sw.py
172DEFAULT_SW_PORT=2200
173
174[ -z "$FS_CONFIG" ] && FS_CONFIG=$DEFAULT_FS_CONFIG
175[ -z "$SW_CONFIG" ] && SW_CONFIG=$DEFAULT_SW_CONFIG
176[ -z "$SW_PORT" ] && SW_PORT=$DEFAULT_SW_PORT
177[ -z "$NNODES" ] && NNODES=2
178[ -z "$RUN_DIR" ] && RUN_DIR=$(pwd)
179[ -z "$CKPT_DIR" ] && CKPT_DIR=$(pwd)

--- 206 unchanged lines hidden ---
172DEFAULT_SW_PORT=2200
173
174[ -z "$FS_CONFIG" ] && FS_CONFIG=$DEFAULT_FS_CONFIG
175[ -z "$SW_CONFIG" ] && SW_CONFIG=$DEFAULT_SW_CONFIG
176[ -z "$SW_PORT" ] && SW_PORT=$DEFAULT_SW_PORT
177[ -z "$NNODES" ] && NNODES=2
178[ -z "$RUN_DIR" ] && RUN_DIR=$(pwd)
179[ -z "$CKPT_DIR" ] && CKPT_DIR=$(pwd)

--- 206 unchanged lines hidden ---