mem: Add bank and rank indices as fields to the DRAM bank
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 30 Jun 2014 17:56:02 +0000 (13:56 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 30 Jun 2014 17:56:02 +0000 (13:56 -0400)
commitb4ce51eb9ecfb053e2aacbabba318a41890f436e
treecaf12feccc4b3ba68347d20c2a1feab7bd4e477c
parentd59bc8ee1fbfe26567e3dfb038c60b52f4e20946
mem: Add bank and rank indices as fields to the DRAM bank

This patch adds the index of the bank and rank as a field so that we can
determine the identity of a given bank (reference or pointer) for the
power tracing. We also grab the opportunity of cleaning up the
arguments used for identifying the bank when activating.
src/mem/dram_ctrl.cc
src/mem/dram_ctrl.hh