mem: Add a MemBackdoor type to track memory backdoors.
authorGabe Black <gabeblack@google.com>
Fri, 22 Mar 2019 00:12:08 +0000 (17:12 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 6 Apr 2019 00:52:15 +0000 (00:52 +0000)
commit2cf18a811044e5a67ff4a4f9d1c419b5673a698e
tree36edc8de0d760e5b1d32a4b400f42ced5d0b38ad
parentd0f87650e105395b6fa281c19b47eb705129372c
mem: Add a MemBackdoor type to track memory backdoors.

These are similar to the structures TLM's DMI mechanism uses. Instead
of having an invalidation broadcast which propogates backwards up the
port hierarchy, this mechanism tracks a set of callbacks which are
triggered when a back door is invalidated to let other holders clean
up their bookkeeping.

Change-Id: If24489258dcaee14d7b6e5b996dfb1c2636f26ab
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17589
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/mem/backdoor.hh [new file with mode: 0644]