mem: Split the various protocols out of the gem5 master/slave ports.
authorGabe Black <gabeblack@google.com>
Thu, 15 Aug 2019 23:41:51 +0000 (16:41 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 23 Aug 2019 09:04:13 +0000 (09:04 +0000)
commitd97e4e1dd01a943a2c40ead90099d3e085059715
tree4851265b9045c05f5307ec807f632169ddd4f6e0
parent34b22c298c3fa742cb60b613f651874a869b93a0
mem: Split the various protocols out of the gem5 master/slave ports.

This makes the protocols easier to see in their entirity, and makes it
easier to add a new type of port which only supports the functional
protocol.

Change-Id: If5d639bef45062f0a23af2ac46f50933e6a8f144
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20228
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/mem/SConscript
src/mem/atomic_protocol.cc [new file with mode: 0644]
src/mem/atomic_protocol.hh [new file with mode: 0644]
src/mem/functional_protocol.cc [new file with mode: 0644]
src/mem/functional_protocol.hh [new file with mode: 0644]
src/mem/port.cc
src/mem/port.hh
src/mem/timing_protocol.cc [new file with mode: 0644]
src/mem/timing_protocol.hh [new file with mode: 0644]