From 2cfe62adc4f9206f616669a103133b906f705e8b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Mon, 7 Jan 2013 13:05:45 -0500 Subject: 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. --- src/cpu/ozone/checker_builder.cc | 2 +- src/cpu/ozone/cpu_builder.cc | 2 +- src/cpu/ozone/simple_cpu_builder.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu/ozone') diff --git a/src/cpu/ozone/checker_builder.cc b/src/cpu/ozone/checker_builder.cc index 970591d33..a47225760 100644 --- a/src/cpu/ozone/checker_builder.cc +++ b/src/cpu/ozone/checker_builder.cc @@ -72,7 +72,7 @@ OzoneCheckerParams::create() params->exitOnError = exitOnError; params->updateOnError = updateOnError; params->warnOnlyOnLoadError = warnOnlyOnLoadError; - params->deferRegistration = defer_registration; + params->switched_out = switched_out; params->functionTrace = function_trace; params->functionTraceStart = function_trace_start; params->clock = clock; diff --git a/src/cpu/ozone/cpu_builder.cc b/src/cpu/ozone/cpu_builder.cc index ffd05375b..b5466a869 100644 --- a/src/cpu/ozone/cpu_builder.cc +++ b/src/cpu/ozone/cpu_builder.cc @@ -189,7 +189,7 @@ DerivOzoneCPUParams::create() params->instShiftAmt = 2; - params->deferRegistration = defer_registration; + params->switched_out = switched_out; params->functionTrace = function_trace; params->functionTraceStart = function_trace_start; diff --git a/src/cpu/ozone/simple_cpu_builder.cc b/src/cpu/ozone/simple_cpu_builder.cc index 1fd9d3b79..eb26338d4 100644 --- a/src/cpu/ozone/simple_cpu_builder.cc +++ b/src/cpu/ozone/simple_cpu_builder.cc @@ -185,7 +185,7 @@ SimpleOzoneCPUParams::create() params->instShiftAmt = 2; - params->deferRegistration = defer_registration; + params->switchedOut = switched_out; params->functionTrace = function_trace; params->functionTraceStart = function_trace_start; -- cgit v1.2.3