changeset 8b7425bd3196 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=8b7425bd3196
description:
x86: add a warning about the number of memory controllers
When memory size > 3GB, print a warning that twice the number of memory
controllers would be created.
diffstat:
configs/common/FSConfig.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 8bc3887d5e72 -r 8b7425bd3196 configs/common/FSConfig.py
--- a/configs/common/FSConfig.py Mon Jan 27 18:50:54 2014 -0600
+++ b/configs/common/FSConfig.py Tue Jan 28 07:15:53 2014 -0600
@@ -41,7 +41,7 @@
from m5.objects import *
from Benchmarks import *
-from m5.util import convert
+from m5.util import *
class CowIdeDisk(IdeDisk):
image = CowDiskImage(child=RawDiskImage(read_only=True),
@@ -415,6 +415,10 @@
if excess_mem_size <= 0:
self.mem_ranges = [AddrRange(mdesc.mem())]
else:
+ warn("Physical memory size specified is %s which is greater than " \
+ "3GB. Twice the number of memory controllers would be " \
+ "created." % (mdesc.mem()))
+
self.mem_ranges = [AddrRange('3GB'),
AddrRange(Addr('4GB'), size = excess_mem_size)]
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev