From: Gabe Black Date: Sun, 13 Nov 2011 10:05:27 +0000 (-0800) Subject: Power: Implement a stub for getArgument. X-Git-Tag: stable_2012_06_28~286 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d68887c8747b72419af6f6549be7c3addd09aad;p=gem5.git Power: Implement a stub for getArgument. --- 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) {