From: Gabe Black Date: Wed, 3 Oct 2007 01:33:57 +0000 (-0700) Subject: CPU: Make the cpuid parameter get set in SE mode as well. X-Git-Tag: m5_2.0_beta4~73^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7571e8346d0ebbc38806c30a75dbcf298d50f08e;p=gem5.git CPU: Make the cpuid parameter get set in SE mode as well. --HG-- extra : convert_revision : bc47206acb683ebaaa31f57af79b4b8db64e4d31 --- diff --git a/src/cpu/o3/checker_builder.cc b/src/cpu/o3/checker_builder.cc index baa604962..b9afb3f9f 100644 --- a/src/cpu/o3/checker_builder.cc +++ b/src/cpu/o3/checker_builder.cc @@ -89,8 +89,8 @@ O3CheckerParams::create() params->itb = itb; params->dtb = dtb; params->system = system; -#if FULL_SYSTEM params->cpu_id = cpu_id; +#if FULL_SYSTEM params->profile = profile; #else params->process = workload; diff --git a/src/cpu/ozone/checker_builder.cc b/src/cpu/ozone/checker_builder.cc index eacec6461..37b9f951a 100644 --- a/src/cpu/ozone/checker_builder.cc +++ b/src/cpu/ozone/checker_builder.cc @@ -90,8 +90,8 @@ OzoneCheckerParams::create() params->itb = itb; params->dtb = dtb; params->system = system; -#if FULL_SYSTEM params->cpu_id = cpu_id; +#if FULL_SYSTEM params->profile = profile; #else params->process = workload; diff --git a/src/cpu/ozone/cpu_builder.cc b/src/cpu/ozone/cpu_builder.cc index 927370339..beb179d41 100644 --- a/src/cpu/ozone/cpu_builder.cc +++ b/src/cpu/ozone/cpu_builder.cc @@ -83,8 +83,8 @@ DerivOzoneCPUParams::create() params->dtb = dtb; params->system = system; -#if FULL_SYSTEM params->cpu_id = cpu_id; +#if FULL_SYSTEM params->profile = profile; params->do_quiesce = do_quiesce; params->do_checkpoint_insts = do_checkpoint_insts; diff --git a/src/cpu/ozone/simple_cpu_builder.cc b/src/cpu/ozone/simple_cpu_builder.cc index 23f5455e4..9cd56fdb4 100644 --- a/src/cpu/ozone/simple_cpu_builder.cc +++ b/src/cpu/ozone/simple_cpu_builder.cc @@ -86,9 +86,8 @@ SimpleOzoneCPUParams::create() params->dtb = dtb; params->system = system; -#if FULL_SYSTEM params->cpu_id = cpu_id; -#else +#if !FULL_SYSTEM params->workload = workload; // params->pTable = page_table; #endif // FULL_SYSTEM