From 6d68887c8747b72419af6f6549be7c3addd09aad Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 13 Nov 2011 02:05:27 -0800 Subject: [PATCH] Power: Implement a stub for getArgument. --- src/arch/power/utility.cc | 7 +++++++ src/arch/power/utility.hh | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/arch/power/utility.cc b/src/arch/power/utility.cc index b02ccda08..e7881fcae 100644 --- a/src/arch/power/utility.cc +++ b/src/arch/power/utility.cc @@ -55,6 +55,13 @@ copyRegs(ThreadContext *src, ThreadContext *dest) dest->pcState(src->pcState()); } +uint64_t +getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) +{ + panic("getArgument not implemented for POWER.\n"); + return 0; +} + void skipFunction(ThreadContext *tc) { diff --git a/src/arch/power/utility.hh b/src/arch/power/utility.hh index 349054774..0dc9294a5 100644 --- a/src/arch/power/utility.hh +++ b/src/arch/power/utility.hh @@ -78,6 +78,8 @@ advancePC(PCState &pc, const StaticInstPtr inst) pc.advance(); } +uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp); + static inline bool inUserMode(ThreadContext *tc) { -- 2.30.2