diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-09 12:29:31 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-09 12:29:31 -0400 |
commit | a7f5f54ff8d7097c60fdf09bf4bbba121aaff5c6 (patch) | |
tree | b21a4d132044bdd3bf3f3d46d4eba8df8713b6d5 /src/cpu/o3/fetch.hh | |
parent | 02606ebb26dcdd9e370a72b22aaad11d1b14ac60 (diff) | |
download | gem5-a7f5f54ff8d7097c60fdf09bf4bbba121aaff5c6.tar.xz |
Allow for fetch to retry access if the sendTiming call fails.
--HG--
extra : convert_revision : ddbcf82e0a3160c93c4e51f5d60b0a7b5983d3ba
Diffstat (limited to 'src/cpu/o3/fetch.hh')
-rw-r--r-- | src/cpu/o3/fetch.hh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/cpu/o3/fetch.hh b/src/cpu/o3/fetch.hh index 9e8aeb8fb..960d42178 100644 --- a/src/cpu/o3/fetch.hh +++ b/src/cpu/o3/fetch.hh @@ -115,7 +115,7 @@ class DefaultFetch QuiescePending, SwitchOut, IcacheWaitResponse, - IcacheRetry, + IcacheWaitRetry, IcacheAccessComplete }; @@ -268,6 +268,8 @@ class DefaultFetch } private: + void recvRetry(); + /** Returns the appropriate thread to fetch, given the fetch policy. */ int getFetchingThread(FetchPriority &fetch_priority); @@ -360,6 +362,15 @@ class DefaultFetch /** The width of fetch in instructions. */ unsigned fetchWidth; + /** Is the cache blocked? If so no threads can access it. */ + bool cacheBlocked; + + /** The packet that is waiting to be retried. */ + PacketPtr retryPkt; + + /** The thread that is waiting on the cache to tell fetch to retry. */ + int retryTid; + /** Cache block size. */ int cacheBlkSize; |