diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-01-07 13:05:45 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-01-07 13:05:45 -0500 |
commit | 2cfe62adc4f9206f616669a103133b906f705e8b (patch) | |
tree | 8dc7c3253a50302aecd990182f562c779cf02b85 /src/cpu/BaseCPU.py | |
parent | f7da0fddd1506c9fe2325c1720bf08635ac7db05 (diff) | |
download | gem5-2cfe62adc4f9206f616669a103133b906f705e8b.tar.xz |
cpu: Rename defer_registration->switched_out
The defer_registration parameter is used to prevent a CPU from
initializing at startup, leaving it in the "switched out" mode. The
name of this parameter (and the help string) is confusing. This patch
renames it to switched_out, which should be more descriptive.
Diffstat (limited to 'src/cpu/BaseCPU.py')
-rw-r--r-- | src/cpu/BaseCPU.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/BaseCPU.py b/src/cpu/BaseCPU.py index 957203150..6673b9d41 100644 --- a/src/cpu/BaseCPU.py +++ b/src/cpu/BaseCPU.py @@ -173,8 +173,9 @@ class BaseCPU(MemObject): progress_interval = Param.Frequency('0Hz', "frequency to print out the progress message") - defer_registration = Param.Bool(False, - "defer registration with system (for sampling)") + switched_out = Param.Bool(False, + "Leave the CPU switched out after startup (used when switching " \ + "between CPU models)") tracer = Param.InstTracer(default_tracer, "Instruction tracer") |