Port: Add isSnooping to slave port (asking master port)
Review Request #1255 - Created June 6, 2012 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9061:f48b3f34d315 --------------------------- Port: Add isSnooping to slave port (asking master port) This patch adds isSnooping to the slave port, and thus avoids going through getMasterPort to be able to ask the master. Over the course of the next few patches, all getMasterPort/getSlavePort in Port and MemObject are to be protocol agnostic, and the snooping is part of the protocol layer. The function is already present on the master port, where it is implemented by the module itself, e.g. a cache. On the slave side, it is merely asking the connected master port. The same name is used by both functions despite their difference in behaviour. The initial design used isMasterSnooping on the slave port side, but the more verbose function name was later changed.
util/regress all passing (disregarding t1000 and eio)
Ship It!
Ship It!
Posted (June 7, 2012, 2:37 a.m.)
-
src/mem/ruby/system/RubyPort.cc (Diff revision 1) -
Andreas, can you point out the file where the master port is being set to snooping?
Ship It!
