summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-11-13 12:40:15 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-11-13 12:40:15 -0800
commitff4ba8261058f842ecceb48a5c4f0e120aaaf3a6 (patch)
tree0ffcb5f910b6be0ee935cfe34d4c74f6031b9347
parent1a8f1809fa987a035d6ad70d454add8755c406f0 (diff)
downloadgem5-ff4ba8261058f842ecceb48a5c4f0e120aaaf3a6.tar.xz
POWER: Add a stub implementation of initCPU.
-rw-r--r--src/arch/power/utility.cc6
-rw-r--r--src/arch/power/utility.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/power/utility.cc b/src/arch/power/utility.cc
index e7881fcae..e3fa246fc 100644
--- a/src/arch/power/utility.cc
+++ b/src/arch/power/utility.cc
@@ -68,5 +68,11 @@ skipFunction(ThreadContext *tc)
panic("Not Implemented for POWER");
}
+void
+initCPU(ThreadContext *tc, int cpuId)
+{
+ panic("initCPU not implemented for POWER.\n");
+}
+
} // namespace PowerISA
diff --git a/src/arch/power/utility.hh b/src/arch/power/utility.hh
index 0dc9294a5..c3868c189 100644
--- a/src/arch/power/utility.hh
+++ b/src/arch/power/utility.hh
@@ -92,6 +92,8 @@ getExecutingAsid(ThreadContext *tc)
return 0;
}
+void initCPU(ThreadContext *, int cpuId);
+
} // namespace PowerISA