mem: remove acq/rel cmds from packet and add mem fence req

This commit is contained in:
Tony Gutierrez 2015-12-09 22:56:31 -05:00
parent 28d7e261ed
commit 413f3088ea
2 changed files with 6 additions and 12 deletions

View file

@ -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 */

View file

@ -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