Deleted Added
sdiff udiff text old ( 13396:23277eaae855 ) new ( 13608:e91969b61d3d )
full compact
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

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

32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
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
45
46class ArmMachineType(Enum):
47 map = {

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

133 "enable early kernel symbol tables before MMU")
134 enable_context_switch_stats_dump = Param.Bool(False, "enable stats/task info dumping at context switch boundaries")
135
136 panic_on_panic = Param.Bool(False, "Trigger a gem5 panic if the " \
137 "guest kernel panics")
138 panic_on_oops = Param.Bool(False, "Trigger a gem5 panic if the " \
139 "guest kernel oopses")
140
141class LinuxArmSystem(GenericArmSystem):
142 type = 'LinuxArmSystem'
143 cxx_header = "arch/arm/linux/system.hh"
144
145 @cxxMethod
146 def dumpDmesg(self):
147 """Dump dmesg from the simulated kernel to standard out"""
148 pass
149
150 # Have Linux systems for ARM auto-calc their load_addr_mask for proper
151 # kernel relocation.
152 load_addr_mask = 0x0
153
154class FreebsdArmSystem(GenericArmSystem):
155 type = 'FreebsdArmSystem'
156 cxx_header = "arch/arm/freebsd/system.hh"