summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2013-08-26 10:58:06 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2013-08-26 10:58:06 -0500
commite1b9c8c169a8bfe7bbfddb3f8fabbfaed5eaec31 (patch)
treef40b9716d5207d329e0f400cb375eb9183e16746 /configs/common
parentdc18352e3c5f35352341bb783e1d630eb1e810f4 (diff)
downloadgem5-e1b9c8c169a8bfe7bbfddb3f8fabbfaed5eaec31.tar.xz
ARM: Fix configuration files for bare-metal binaries.
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/FSConfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index d560e8d96..c971ba4cf 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -259,7 +259,8 @@ def makeArmSystem(mem_mode, machine_type, mdesc = None,
if bare_metal:
# EOT character on UART will end the simulation
self.realview.uart.end_on_eot = True
- self.mem_ranges = [AddrRange(mdesc.mem())]
+ self.mem_ranges = [AddrRange(self.realview.mem_start_addr,
+ size = mdesc.mem())]
else:
self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
if dtb_filename is not None: