mem: remove acq/rel cmds from packet and add mem fence req
This commit is contained in:
parent
28d7e261ed
commit
413f3088ea
2 changed files with 6 additions and 12 deletions
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue