summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2015-12-09 22:56:31 -0500
committerTony Gutierrez <anthony.gutierrez@amd.com>2015-12-09 22:56:31 -0500
commit413f3088eabf385507e854d74c0a5861e4d2856b (patch)
tree467bfde74917b72b51b4d819b371603fb2d0ab36 /src
parent28d7e261edc3e464c99593386b891d0974db886d (diff)
downloadgem5-413f3088eabf385507e854d74c0a5861e4d2856b.tar.xz
mem: remove acq/rel cmds from packet and add mem fence req
Diffstat (limited to 'src')
-rw-r--r--src/mem/packet.cc12
-rw-r--r--src/mem/packet.hh6
2 files changed, 6 insertions, 12 deletions
diff --git a/src/mem/packet.cc b/src/mem/packet.cc
index c79deb680..78b32a25f 100644
--- a/src/mem/packet.cc
+++ b/src/mem/packet.cc
@@ -170,14 +170,10 @@ MemCmd::commandInfo[] =
MessageResp, "MessageReq" },
/* IntResp -- for interrupts */
{ SET2(IsWrite, IsResponse), InvalidCmd, "MessageResp" },
- /* ReleaseReq -- for release synchronization */
- { SET2(IsRequest, NeedsResponse), ReleaseResp, "ReleaseReq" },
- /* ReleaseResp -- for release synchronization */
- { SET1(IsResponse), InvalidCmd, "ReleaseResp" },
- /* AcquireReq -- for release synchronization */
- { SET2(IsRequest, NeedsResponse), AcquireResp, "AcquireReq" },
- /* AcquireResp -- for release synchronization */
- { SET2(IsResponse, NeedsResponse), InvalidCmd, "AcquireResp" },
+ /* MemFenceReq -- for synchronization requests */
+ {SET2(IsRequest, NeedsResponse), MemFenceResp, "MemFenceReq"},
+ /* MemFenceResp -- for synchronization responses */
+ {SET1(IsResponse), InvalidCmd, "MemFenceResp"},
/* InvalidDestError -- packet dest field invalid */
{ SET2(IsResponse, IsError), InvalidCmd, "InvalidDestError" },
/* BadAddressError -- memory address invalid */
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index d1c285f04..12295555d 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -111,10 +111,8 @@ class MemCmd
SwapResp,
MessageReq,
MessageResp,
- ReleaseReq,
- ReleaseResp,
- AcquireReq,
- AcquireResp,
+ MemFenceReq,
+ MemFenceResp,
// Error responses
// @TODO these should be classified as responses rather than
// requests; coding them as requests initially for backwards