diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2007-03-27 17:06:07 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2007-03-27 17:06:07 -0500 |
commit | 55614caecca476a12ef711b8b6e459fee19028b9 (patch) | |
tree | e77ee0402a74c0a3bdbe7fd1b4f62267c6b14602 /src/mem/cache/cache.hh | |
parent | d8ca2d3b16d998eaf68bae0235740278aa27c5d5 (diff) | |
parent | 6b8cd9d06d6639e52b78f7611e4060b08df84593 (diff) | |
download | gem5-55614caecca476a12ef711b8b6e459fee19028b9.tar.xz |
Merge zizzer:/bk/newmem
into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/head
--HG--
extra : convert_revision : 45b64b1564f0e4958d8441455f87b2b185324d55
Diffstat (limited to 'src/mem/cache/cache.hh')
-rw-r--r-- | src/mem/cache/cache.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh index 722ce216b..3e45c85d2 100644 --- a/src/mem/cache/cache.hh +++ b/src/mem/cache/cache.hh @@ -227,6 +227,12 @@ class Cache : public BaseCache BlkType* handleAccess(PacketPtr &pkt, int & lat, PacketList & writebacks, bool update = true); + + /** + *Handle doing the Compare and Swap function for SPARC. + */ + void cmpAndSwap(BlkType *blk, PacketPtr &pkt); + /** * Populates a cache block and handles all outstanding requests for the * satisfied fill request. This version takes an MSHR pointer and uses its |