summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/tracechild_sparc.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-15 06:10:59 -0400
committerGabe Black <gblack@eecs.umich.edu>2007-03-15 06:10:59 -0400
commit47c8d9d3462db91cb296f8f42b2c401e736d4daa (patch)
treeafae4e40cabf985a27ba95c1fa75a2d9268c051e /util/statetrace/arch/tracechild_sparc.hh
parent4379e54b52a6cefda4009b96a1a545973f3174c8 (diff)
parentb33f4623abeb82acf87714ada95682ceb0993d31 (diff)
downloadgem5-47c8d9d3462db91cb296f8f42b2c401e736d4daa.tar.xz
Merge zizzer.eecs.umich.edu:/bk/newmem
into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace --HG-- extra : convert_revision : c886266320e6c1352e359d5abf6fb3a804f81451
Diffstat (limited to 'util/statetrace/arch/tracechild_sparc.hh')
-rw-r--r--util/statetrace/arch/tracechild_sparc.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/statetrace/arch/tracechild_sparc.hh b/util/statetrace/arch/tracechild_sparc.hh
index 8b4ff9aae..0284fb82e 100644
--- a/util/statetrace/arch/tracechild_sparc.hh
+++ b/util/statetrace/arch/tracechild_sparc.hh
@@ -72,10 +72,10 @@ private:
regs oldregs;
fpu thefpregs;
fpu oldfpregs;
- int64_t locals[8];
- int64_t oldLocals[8];
- int64_t inputs[8];
- int64_t oldInputs[8];
+ uint64_t locals[8];
+ uint64_t oldLocals[8];
+ uint64_t inputs[8];
+ uint64_t oldInputs[8];
bool regDiffSinceUpdate[numregs];
//This calculates where the pc might go after the current instruction.
@@ -90,6 +90,8 @@ protected:
public:
SparcTraceChild();
+ bool sendState(int socket);
+
int getNumRegs()
{
return numregs;