diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-06-02 12:58:17 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-06-02 12:58:17 -0500 |
commit | d3a519ef0c810fb24a7d299c90f9a2d88e500360 (patch) | |
tree | 1178833c1d1dc6418e39d234424f238531ba8e85 /util/statetrace/arch/tracechild_arm.hh | |
parent | 5a6bf8301ad933d038f87f3030b00af1d775d5c9 (diff) | |
download | gem5-d3a519ef0c810fb24a7d299c90f9a2d88e500360.tar.xz |
ARM: Fixup native trace support and add some v7/recent stack code
Diffstat (limited to 'util/statetrace/arch/tracechild_arm.hh')
-rw-r--r-- | util/statetrace/arch/tracechild_arm.hh | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/util/statetrace/arch/tracechild_arm.hh b/util/statetrace/arch/tracechild_arm.hh index 9e1af6a8d..79eccd891 100644 --- a/util/statetrace/arch/tracechild_arm.hh +++ b/util/statetrace/arch/tracechild_arm.hh @@ -1,4 +1,16 @@ /* + * Copyright (c) 2010 ARM Limited + * All rights reserved + * + * The license below extends only to copyright in the software and shall + * not be construed as granting a license to any other intellectual + * property including but not limited to intellectual property relating + * to a hardware implementation of the functionality of the software + * licensed hereunder. You may use the software subject to the license + * terms below provided that you ensure that this notice is replicated + * unmodified and in its entirety in all distributions of the software, + * modified or unmodified, in source code or in binary form. + * * Copyright (c) 2009 The Regents of The University of Michigan * All rights reserved. * @@ -63,15 +75,16 @@ class ARMTraceChild : public TraceChild user_regs regs; user_regs oldregs; bool regDiffSinceUpdate[numregs]; - + bool foundMvn; + protected: bool update(int pid); - + public: ARMTraceChild(); bool sendState(int socket); - int getNumRegs() + int getNumRegs() { return numregs; } @@ -90,7 +103,7 @@ class ARMTraceChild : public TraceChild int64_t getRegVal(int num); int64_t getOldRegVal(int num); - + bool step(); uint64_t getPC() |