From ff4ba8261058f842ecceb48a5c4f0e120aaaf3a6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 13 Nov 2011 12:40:15 -0800 Subject: [PATCH] POWER: Add a stub implementation of initCPU. --- src/arch/power/utility.cc | 6 ++++++ src/arch/power/utility.hh | 2 ++ 2 files changed, 8 insertions(+) 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 -- 2.30.2