fs_bigLITTLE.py (12153:dc6e9f6dfd9c) fs_bigLITTLE.py (12166:1e88ad5f1a47)
1# Copyright (c) 2016-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

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

112 super(Ex5LittleCluster, self).__init__(system, num_cpus, cpu_clock,
113 cpu_voltage, *cpu_config)
114
115def createSystem(caches, kernel, bootscript, disks=[]):
116 sys = devices.SimpleSystem(caches, default_mem_size,
117 kernel=SysPaths.binary(kernel),
118 readfile=bootscript)
119
1# Copyright (c) 2016-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

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

112 super(Ex5LittleCluster, self).__init__(system, num_cpus, cpu_clock,
113 cpu_voltage, *cpu_config)
114
115def createSystem(caches, kernel, bootscript, disks=[]):
116 sys = devices.SimpleSystem(caches, default_mem_size,
117 kernel=SysPaths.binary(kernel),
118 readfile=bootscript)
119
120 sys.mem_ctrls = SimpleMemory(range=sys._mem_range)
121 sys.mem_ctrls.port = sys.membus.master
120 sys.mem_ctrls = [ SimpleMemory(range=r, port=sys.membus.master)
121 for r in sys.mem_ranges ]
122
123 sys.connect()
124
125 # Attach disk images
126 if disks:
127 def cow_disk(image_file):
128 image = CowDiskImage()
129 image.child.image_file = SysPaths.disk(image_file)

--- 196 unchanged lines hidden ---
122
123 sys.connect()
124
125 # Attach disk images
126 if disks:
127 def cow_disk(image_file):
128 image = CowDiskImage()
129 image.child.image_file = SysPaths.disk(image_file)

--- 196 unchanged lines hidden ---