summaryrefslogtreecommitdiff
path: root/src/mem/physical.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-01-07 13:05:38 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-01-07 13:05:38 -0500
commit18b147acef164dcc7faa3a6c184c913a2bbb93fa (patch)
tree66e55c920e7c4a1eaddd082d65d5851aedc81742 /src/mem/physical.hh
parentb8c2fa6ba9850d079574ca6d7c91b93dcd3aacb8 (diff)
downloadgem5-18b147acef164dcc7faa3a6c184c913a2bbb93fa.tar.xz
mem: Merge ranges that are part of the conf table
This patch adds basic merging of address ranges when determining which address ranges should be reported in the configuration table. By performing this merging it is possible to distribute an address range across many memory channels (controllers). This is essential to enable address interleaving.
Diffstat (limited to 'src/mem/physical.hh')
-rw-r--r--src/mem/physical.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/physical.hh b/src/mem/physical.hh
index 10edeb18f..02fefb478 100644
--- a/src/mem/physical.hh
+++ b/src/mem/physical.hh
@@ -135,7 +135,9 @@ class PhysicalMemory : public Serializable
/**
* Get the memory ranges for all memories that are to be reported
- * to the configuration table.
+ * to the configuration table. The ranges are merged before they
+ * are returned such that any interleaved ranges appear as a
+ * single range.
*
* @return All configuration table memory ranges
*/