summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-11-13 02:05:27 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-11-13 02:05:27 -0800
commit6d68887c8747b72419af6f6549be7c3addd09aad (patch)
treea40096de47558dc0af2fa736bca84262c713d336 /src
parent71c4534ce96b8b663a1f35ee98dd19c0438f5fde (diff)
downloadgem5-6d68887c8747b72419af6f6549be7c3addd09aad.tar.xz
Power: Implement a stub for getArgument.
Diffstat (limited to 'src')
-rw-r--r--src/arch/power/utility.cc7
-rw-r--r--src/arch/power/utility.hh2
2 files changed, 9 insertions, 0 deletions
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)
{