ArmSystem.py (12525:2959af162048) | ArmSystem.py (12531:3141027bd11a) |
---|---|
1# Copyright (c) 2009, 2012-2013, 2015-2018 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 --- 27 unchanged lines hidden (view full) --- 36# Authors: Ali Saidi 37# Glenn Bergmans 38 39from m5.params import * 40from m5.SimObject import * 41from m5.util.fdthelper import * 42 43from System import System | 1# Copyright (c) 2009, 2012-2013, 2015-2018 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 --- 27 unchanged lines hidden (view full) --- 36# Authors: Ali Saidi 37# Glenn Bergmans 38 39from m5.params import * 40from m5.SimObject import * 41from m5.util.fdthelper import * 42 43from System import System |
44from ArmSemihosting import ArmSemihosting |
|
44 45class ArmMachineType(Enum): 46 map = { 47 'RealViewEB' : 827, 48 'RealViewPBX' : 1901, 49 'VExpress_EMM' : 2272, 50 'VExpress_EMM64' : 2272, 51 'DTOnly' : -1, --- 22 unchanged lines hidden (view full) --- 74 "(ARMv8)") 75 auto_reset_addr_64 = Param.Bool(False, 76 "Determine reset address from kernel entry point if no boot loader") 77 phys_addr_range_64 = Param.UInt8(40, 78 "Supported physical address range in bits when using AArch64 (ARMv8)") 79 have_large_asid_64 = Param.Bool(False, 80 "True if ASID is 16 bits in AArch64 (ARMv8)") 81 | 45 46class ArmMachineType(Enum): 47 map = { 48 'RealViewEB' : 827, 49 'RealViewPBX' : 1901, 50 'VExpress_EMM' : 2272, 51 'VExpress_EMM64' : 2272, 52 'DTOnly' : -1, --- 22 unchanged lines hidden (view full) --- 75 "(ARMv8)") 76 auto_reset_addr_64 = Param.Bool(False, 77 "Determine reset address from kernel entry point if no boot loader") 78 phys_addr_range_64 = Param.UInt8(40, 79 "Supported physical address range in bits when using AArch64 (ARMv8)") 80 have_large_asid_64 = Param.Bool(False, 81 "True if ASID is 16 bits in AArch64 (ARMv8)") 82 |
83 semihosting = Param.ArmSemihosting(NULL, 84 "Enable support for the Arm semihosting by settings this parameter") 85 |
|
82 m5ops_base = Param.Addr(0, 83 "Base of the 64KiB PA range used for memory-mapped m5ops. Set to 0 " 84 "to disable.") 85 86 def generateDeviceTree(self, state): 87 # Generate a device tree root node for the system by creating the root 88 # node and adding the generated subnodes of all children. 89 # When a child needs to add multiple nodes, this is done by also --- 63 unchanged lines hidden --- | 86 m5ops_base = Param.Addr(0, 87 "Base of the 64KiB PA range used for memory-mapped m5ops. Set to 0 " 88 "to disable.") 89 90 def generateDeviceTree(self, state): 91 # Generate a device tree root node for the system by creating the root 92 # node and adding the generated subnodes of all children. 93 # When a child needs to add multiple nodes, this is done by also --- 63 unchanged lines hidden --- |