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" },
|
MessageResp, "MessageReq" },
|
||||||
/* IntResp -- for interrupts */
|
/* IntResp -- for interrupts */
|
||||||
{ SET2(IsWrite, IsResponse), InvalidCmd, "MessageResp" },
|
{ SET2(IsWrite, IsResponse), InvalidCmd, "MessageResp" },
|
||||||
/* ReleaseReq -- for release synchronization */
|
/* MemFenceReq -- for synchronization requests */
|
||||||
{ SET2(IsRequest, NeedsResponse), ReleaseResp, "ReleaseReq" },
|
{SET2(IsRequest, NeedsResponse), MemFenceResp, "MemFenceReq"},
|
||||||
/* ReleaseResp -- for release synchronization */
|
/* MemFenceResp -- for synchronization responses */
|
||||||
{ SET1(IsResponse), InvalidCmd, "ReleaseResp" },
|
{SET1(IsResponse), InvalidCmd, "MemFenceResp"},
|
||||||
/* AcquireReq -- for release synchronization */
|
|
||||||
{ SET2(IsRequest, NeedsResponse), AcquireResp, "AcquireReq" },
|
|
||||||
/* AcquireResp -- for release synchronization */
|
|
||||||
{ SET2(IsResponse, NeedsResponse), InvalidCmd, "AcquireResp" },
|
|
||||||
/* InvalidDestError -- packet dest field invalid */
|
/* InvalidDestError -- packet dest field invalid */
|
||||||
{ SET2(IsResponse, IsError), InvalidCmd, "InvalidDestError" },
|
{ SET2(IsResponse, IsError), InvalidCmd, "InvalidDestError" },
|
||||||
/* BadAddressError -- memory address invalid */
|
/* BadAddressError -- memory address invalid */
|
||||||
|
|
|
@ -111,10 +111,8 @@ class MemCmd
|
||||||
SwapResp,
|
SwapResp,
|
||||||
MessageReq,
|
MessageReq,
|
||||||
MessageResp,
|
MessageResp,
|
||||||
ReleaseReq,
|
MemFenceReq,
|
||||||
ReleaseResp,
|
MemFenceResp,
|
||||||
AcquireReq,
|
|
||||||
AcquireResp,
|
|
||||||
// Error responses
|
// Error responses
|
||||||
// @TODO these should be classified as responses rather than
|
// @TODO these should be classified as responses rather than
|
||||||
// requests; coding them as requests initially for backwards
|
// requests; coding them as requests initially for backwards
|
||||||
|
|
Loading…
Reference in a new issue