PlatformConfig.py (11238:627dd43a5846) PlatformConfig.py (11297:d1f8610cdffd)
1# Copyright (c) 2012, 2015 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

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

43# Dictionary of mapping names of real CPU models to classes.
44_platform_classes = {}
45
46# Platform aliases. The platforms listed here might not be compiled,
47# we make sure they exist before we add them to the platform list.
48_platform_aliases_all = [
49 ("RealView_EB", "RealViewEB"),
50 ("RealView_PBX", "RealViewPBX"),
1# Copyright (c) 2012, 2015 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

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

43# Dictionary of mapping names of real CPU models to classes.
44_platform_classes = {}
45
46# Platform aliases. The platforms listed here might not be compiled,
47# we make sure they exist before we add them to the platform list.
48_platform_aliases_all = [
49 ("RealView_EB", "RealViewEB"),
50 ("RealView_PBX", "RealViewPBX"),
51 ("VExpress_GEM5", "VExpress_GEM5_V1"),
51 ]
52
53# Filtered list of aliases. Only aliases for existing platforms exist
54# in this list.
55_platform_aliases = {}
56
57def is_platform_class(cls):
58 """Determine if a class is a Platform that can be instantiated"""

--- 51 unchanged lines hidden ---
52 ]
53
54# Filtered list of aliases. Only aliases for existing platforms exist
55# in this list.
56_platform_aliases = {}
57
58def is_platform_class(cls):
59 """Determine if a class is a Platform that can be instantiated"""

--- 51 unchanged lines hidden ---