Power: Implement a stub for getArgument.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 13 Nov 2011 10:05:27 +0000 (02:05 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 13 Nov 2011 10:05:27 +0000 (02:05 -0800)
src/arch/power/utility.cc
src/arch/power/utility.hh

index b02ccda08ded46e91afab0425d786b7bc5abbdfe..e7881fcaea659ee9a16d27ef88b109ad39cdd22c 100644 (file)
@@ -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)
 {
index 34905477448031caf8461b4e4aa31d9fa4b496e4..0dc9294a5f8d3eb80e49dce9a9eca363d0b29c29 100644 (file)
@@ -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)
 {