summaryrefslogtreecommitdiff
path: root/src/cpu/o3/lsq_unit.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:46 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:46 -0500
commitfca4fea769c09add919099e5ede694145c5c5f77 (patch)
tree3f8a4564eeaa6503fdb84575081400908b5076a5 /src/cpu/o3/lsq_unit.hh
parentfb52ea9220f307de18da6565a2cbbaf67ba2b7a7 (diff)
downloadgem5-fca4fea769c09add919099e5ede694145c5c5f77.tar.xz
cpu: Fix O3 LSQ debug dumping constness and formatting
Diffstat (limited to 'src/cpu/o3/lsq_unit.hh')
-rw-r--r--src/cpu/o3/lsq_unit.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cpu/o3/lsq_unit.hh b/src/cpu/o3/lsq_unit.hh
index c0fc52caf..2c79931e2 100644
--- a/src/cpu/o3/lsq_unit.hh
+++ b/src/cpu/o3/lsq_unit.hh
@@ -241,17 +241,17 @@ class LSQUnit {
bool sendStore(PacketPtr data_pkt);
/** Increments the given store index (circular queue). */
- inline void incrStIdx(int &store_idx);
+ inline void incrStIdx(int &store_idx) const;
/** Decrements the given store index (circular queue). */
- inline void decrStIdx(int &store_idx);
+ inline void decrStIdx(int &store_idx) const;
/** Increments the given load index (circular queue). */
- inline void incrLdIdx(int &load_idx);
+ inline void incrLdIdx(int &load_idx) const;
/** Decrements the given load index (circular queue). */
- inline void decrLdIdx(int &load_idx);
+ inline void decrLdIdx(int &load_idx) const;
public:
/** Debugging function to dump instructions in the LSQ. */
- void dumpInsts();
+ void dumpInsts() const;
private:
/** Pointer to the CPU. */