FSConfig.py (12067:9423cf8c1e87) FSConfig.py (12079:a5cc6df83fcf)
1# Copyright (c) 2010-2012, 2015-2017 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 190 unchanged lines hidden (view full) ---

199 self.partition_desc_bin = binary('1up-md.bin')
200
201 self.system_port = self.membus.slave
202
203 return self
204
205def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
206 dtb_filename=None, bare_metal=False, cmdline=None,
1# Copyright (c) 2010-2012, 2015-2017 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 190 unchanged lines hidden (view full) ---

199 self.partition_desc_bin = binary('1up-md.bin')
200
201 self.system_port = self.membus.slave
202
203 return self
204
205def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
206 dtb_filename=None, bare_metal=False, cmdline=None,
207 external_memory="", ruby=False):
207 external_memory="", ruby=False, security=False):
208 assert machine_type
209
210 default_dtbs = {
211 "RealViewEB": None,
212 "RealViewPBX": None,
213 "VExpress_EMM": "vexpress.aarch32.ll_20131205.0-gem5.%dcpu.dtb" % num_cpus,
214 "VExpress_EMM64": "vexpress.aarch64.20140821.dtb",
215 }

--- 75 unchanged lines hidden (view full) ---

291 warn("Memory size specified spans more than one region. Creating" \
292 " another memory controller for that range.")
293
294 if size_remain > 0:
295 fatal("The currently selected ARM platforms doesn't support" \
296 " the amount of DRAM you've selected. Please try" \
297 " another platform")
298
208 assert machine_type
209
210 default_dtbs = {
211 "RealViewEB": None,
212 "RealViewPBX": None,
213 "VExpress_EMM": "vexpress.aarch32.ll_20131205.0-gem5.%dcpu.dtb" % num_cpus,
214 "VExpress_EMM64": "vexpress.aarch64.20140821.dtb",
215 }

--- 75 unchanged lines hidden (view full) ---

291 warn("Memory size specified spans more than one region. Creating" \
292 " another memory controller for that range.")
293
294 if size_remain > 0:
295 fatal("The currently selected ARM platforms doesn't support" \
296 " the amount of DRAM you've selected. Please try" \
297 " another platform")
298
299 self.have_security = security
300
299 if bare_metal:
300 # EOT character on UART will end the simulation
301 self.realview.uart.end_on_eot = True
302 else:
303 if machine_type in default_kernels:
304 self.kernel = binary(default_kernels[machine_type])
305
306 if dtb_filename:

--- 428 unchanged lines hidden ---
301 if bare_metal:
302 # EOT character on UART will end the simulation
303 self.realview.uart.end_on_eot = True
304 else:
305 if machine_type in default_kernels:
306 self.kernel = binary(default_kernels[machine_type])
307
308 if dtb_filename:

--- 428 unchanged lines hidden ---