diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-03-02 22:53:10 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-03-02 22:53:10 -0800 |
commit | 3df970f0de9790c0805ec76759a9c36a0fb10bac (patch) | |
tree | 8bdc5bcaa636386bffcaca4b580ab707a6056400 /util/statetrace/arch/tracechild_arm.hh | |
parent | 07b507d2785f9d7696f980d6556e362392f92fda (diff) | |
download | gem5-3df970f0de9790c0805ec76759a9c36a0fb10bac.tar.xz |
Statetrace: Clean up style.
Diffstat (limited to 'util/statetrace/arch/tracechild_arm.hh')
-rw-r--r-- | util/statetrace/arch/tracechild_arm.hh | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/util/statetrace/arch/tracechild_arm.hh b/util/statetrace/arch/tracechild_arm.hh index 79eccd891..cd998ddaa 100644 --- a/util/statetrace/arch/tracechild_arm.hh +++ b/util/statetrace/arch/tracechild_arm.hh @@ -84,18 +84,21 @@ class ARMTraceChild : public TraceChild ARMTraceChild(); bool sendState(int socket); - int getNumRegs() + int + getNumRegs() { return numregs; } - bool diffSinceUpdate(int num) + bool + diffSinceUpdate(int num) { assert(num < numregs && num >= 0); return regDiffSinceUpdate[num]; } - std::string getRegName(int num) + std::string + getRegName(int num) { assert(num < numregs && num >= 0); return regNames[num]; @@ -106,14 +109,16 @@ class ARMTraceChild : public TraceChild bool step(); - uint64_t getPC() + uint64_t + getPC() { - return getRegVal(PC); + return getRegVal(PC); } - uint64_t getSP() + uint64_t + getSP() { - return getRegVal(SP); + return getRegVal(SP); } char * printReg(int num); |