Power: Implement a stub for getArgument.

This commit is contained in:
Gabe Black
2011-11-13 02:05:27 -08:00
parent 71c4534ce9
commit 6d68887c87
2 changed files with 9 additions and 0 deletions

View 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)
{

View 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)
{