mem-cache: Rename the tag class init function to tagsInit.
authorGabe Black <gabeblack@google.com>
Fri, 2 Nov 2018 23:48:10 +0000 (16:48 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 5 Nov 2018 23:07:46 +0000 (23:07 +0000)
commit66217480be4033a7979997f469128b01048493b7
tree31ec9cb340e75bd813fb56e8483ffb98115a3222
parentadde4c91f99fa99abbdd23cf97c45de020429d2d
mem-cache: Rename the tag class init function to tagsInit.

Since the tag classes are subclasses of SimObject, they inherit an
init function which does generic initialization at simulation startup
and which doesn't take any parameters. A new function was added which
does take a parameter, and which is just for doing tag specific
initialization as triggered by the base cache. These two names clashed,
and clang complained that the tag local name was hiding the SimObject
name (which it was).

Change-Id: I399775aceaf8f1a8e2646d434facef22e6d3e7d0
Reviewed-on: https://gem5-review.googlesource.com/c/13875
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
src/mem/cache/tags/base.hh
src/mem/cache/tags/base_set_assoc.cc
src/mem/cache/tags/base_set_assoc.hh
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/fa_lru.hh
src/mem/cache/tags/sector_tags.cc
src/mem/cache/tags/sector_tags.hh