ruby: Implement SwapReq support
authorMarco Elver <marco.elver@ed.ac.uk>
Fri, 3 Jun 2016 20:20:08 +0000 (16:20 -0400)
committerMarco Elver <marco.elver@ed.ac.uk>
Fri, 3 Jun 2016 20:20:08 +0000 (16:20 -0400)
commit289a8ebdb1348994164c292f24970e56817cd1d6
tree530d2e3042b7fa9c1d005930b40c3cccf24812b4
parent8a52029adc5c30915b33fa9a7238ef3d4d14f0fd
ruby: Implement SwapReq support

This implements SwapReq for Ruby memory.

A SwapReq should be treated like a write, except that the response
packet contains the overwritten data.

Note that, in particular, the conditional checking for isStore/isLoad
needs to be reversed, as a SwapReq is both.
src/mem/ruby/system/Sequencer.cc