summaryrefslogtreecommitdiff
path: root/src/cpu/o3/store_set.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-26 09:23:13 -0700
committerNathan Binkert <nate@binkert.org>2009-05-26 09:23:13 -0700
commit47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca (patch)
tree6beb00dfe7e31b9bf82f7aba4710b0c487b6543f /src/cpu/o3/store_set.hh
parentd93392df28fc6c9a5c70fb6252a12afdc72d9344 (diff)
downloadgem5-47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca.tar.xz
types: add a type for thread IDs and try to use it everywhere
Diffstat (limited to 'src/cpu/o3/store_set.hh')
-rw-r--r--src/cpu/o3/store_set.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/o3/store_set.hh b/src/cpu/o3/store_set.hh
index 57cd2a197..ce4591f68 100644
--- a/src/cpu/o3/store_set.hh
+++ b/src/cpu/o3/store_set.hh
@@ -82,8 +82,7 @@ class StoreSet
/** Inserts a store into the store set predictor. Updates the
* LFST if the store has a valid SSID. */
- void insertStore(Addr store_PC, InstSeqNum store_seq_num,
- unsigned tid);
+ void insertStore(Addr store_PC, InstSeqNum store_seq_num, ThreadID tid);
/** Checks if the instruction with the given PC is dependent upon
* any store. @return Returns the sequence number of the store
@@ -95,7 +94,7 @@ class StoreSet
void issued(Addr issued_PC, InstSeqNum issued_seq_num, bool is_store);
/** Squashes for a specific thread until the given sequence number. */
- void squash(InstSeqNum squashed_num, unsigned tid);
+ void squash(InstSeqNum squashed_num, ThreadID tid);
/** Resets all tables. */
void clear();