mem: Track the MemObject owner in MasterPort and SlavePort.
authorGabe Black <gabeblack@google.com>
Thu, 7 Mar 2019 05:37:01 +0000 (21:37 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 15 Mar 2019 18:37:02 +0000 (18:37 +0000)
commita73069c87dab6d32d5de021d37e009a93cd50cac
tree9962d8c6e3dd15dfff8c819fca625399694f0819
parentb5046b2e512ccf3ffdbba85b169b1adcba6c4443
mem: Track the MemObject owner in MasterPort and SlavePort.

These types are much more tied to MemObjects and the gem5 memory
protocol than the Port or BaseMasterPort and BaseSlavePort classes.

Change-Id: I36bc8c75b9c74d28ee8b65dbcbf742cd41135742
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17032
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/mem/port.cc
src/mem/port.hh