Deleted Added
sdiff udiff text old ( 12475:c6a23d6370de ) new ( 12564:2778478ca882 )
full compact
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

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

34# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39#
40# Authors: Kevin Lim
41
42from __future__ import print_function
43
44from m5.objects import *
45from Benchmarks import *
46from m5.util import *
47from common import PlatformConfig
48
49# Populate to reflect supported os types per target ISA
50os_types = { 'alpha' : [ 'linux' ],
51 'mips' : [ 'linux' ],

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

256 try:
257 dtb_filename = default_dtbs[machine_type]
258 except KeyError:
259 fatal("No DTB specified and no default DTB known for '%s'" % \
260 machine_type)
261
262 if isinstance(self.realview, VExpress_EMM64):
263 if os.path.split(mdesc.disk())[-1] == 'linux-aarch32-ael.img':
264 print("Selected 64-bit ARM architecture, updating default "
265 "disk image...")
266 mdesc.diskname = 'linaro-minimal-aarch64.img'
267
268
269 # Attach any PCI devices this platform supports
270 self.realview.attachPciDevices()
271
272 self.cf0 = CowIdeDisk(driveID='master')
273 self.cf0.childImage(mdesc.disk())

--- 467 unchanged lines hidden ---