diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-08-19 03:52:33 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-08-19 03:52:33 -0400 |
commit | 49d88f08b0ff463bca04285dca240b3730889a1d (patch) | |
tree | e4affba86713db0136091f1c9c25ff6e975048a9 /src/mem/AbstractMemory.py | |
parent | e553844efc4247f5be870fad5ea919af85858a55 (diff) | |
download | gem5-49d88f08b0ff463bca04285dca240b3730889a1d.tar.xz |
mem: Change AbstractMemory defaults to match the common case
This patch changes the default parameter value of conf_table_reported
to match the common case. It also simplifies the regression and config
scripts to reflect this change.
Diffstat (limited to 'src/mem/AbstractMemory.py')
-rw-r--r-- | src/mem/AbstractMemory.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mem/AbstractMemory.py b/src/mem/AbstractMemory.py index 22a4a1893..ab1a6028c 100644 --- a/src/mem/AbstractMemory.py +++ b/src/mem/AbstractMemory.py @@ -46,7 +46,10 @@ class AbstractMemory(MemObject): type = 'AbstractMemory' abstract = True cxx_header = "mem/abstract_mem.hh" - range = Param.AddrRange(AddrRange('128MB'), "Address range") + + # A default memory size of 128 MB (starting at 0) is used to + # simplify the regressions + range = Param.AddrRange('128MB', "Address range (potentially interleaved)") null = Param.Bool(False, "Do not store data, always return zero") # All memories are passed to the global physical memory, and @@ -57,4 +60,4 @@ class AbstractMemory(MemObject): # Should the bootloader include this memory when passing # configuration information about the physical memory layout to # the kernel, e.g. using ATAG or ACPI - conf_table_reported = Param.Bool(False, "Report to configuration table") + conf_table_reported = Param.Bool(True, "Report to configuration table") |