diff options
author | Somayeh Sardashti <somayeh@cs.wisc.edu> | 2011-03-28 10:49:45 -0500 |
---|---|---|
committer | Somayeh Sardashti <somayeh@cs.wisc.edu> | 2011-03-28 10:49:45 -0500 |
commit | c8bbfed93752c2c79d36bb9dedbc2208b856dae6 (patch) | |
tree | c33a164e435603a4424f81f7f09ec50b5f01e455 /src/mem/packet.cc | |
parent | ef987a4064f1e81fd1b61f3de03834a51658645f (diff) | |
download | gem5-c8bbfed93752c2c79d36bb9dedbc2208b856dae6.tar.xz |
This patch supports cache flushing in MOESI_hammer
Diffstat (limited to 'src/mem/packet.cc')
-rw-r--r-- | src/mem/packet.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/packet.cc b/src/mem/packet.cc index d0b1fed83..547695697 100644 --- a/src/mem/packet.cc +++ b/src/mem/packet.cc @@ -148,7 +148,9 @@ MemCmd::commandInfo[] = /* BadAddressError -- memory address invalid */ { SET2(IsResponse, IsError), InvalidCmd, "BadAddressError" }, /* PrintReq */ - { SET2(IsRequest, IsPrint), InvalidCmd, "PrintReq" } + { SET2(IsRequest, IsPrint), InvalidCmd, "PrintReq" }, + /* Flush Request */ + { SET3(IsRequest, IsFlush, NeedsExclusive), InvalidCmd, "FlushReq" } }; bool |