From 7571e8346d0ebbc38806c30a75dbcf298d50f08e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 2 Oct 2007 18:33:57 -0700 Subject: CPU: Make the cpuid parameter get set in SE mode as well. --HG-- extra : convert_revision : bc47206acb683ebaaa31f57af79b4b8db64e4d31 --- src/cpu/o3/checker_builder.cc | 2 +- src/cpu/ozone/checker_builder.cc | 2 +- src/cpu/ozone/cpu_builder.cc | 2 +- src/cpu/ozone/simple_cpu_builder.cc | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3