ArmSystem.py (11538:55014a40512c) ArmSystem.py (11787:af41594e9b3c)
1# Copyright (c) 2009, 2012-2013, 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

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

94 panic_on_oops = Param.Bool(False, "Trigger a gem5 panic if the " \
95 "guest kernel oopses")
96
97class LinuxArmSystem(GenericArmSystem):
98 type = 'LinuxArmSystem'
99 cxx_header = "arch/arm/linux/system.hh"
100
101 @classmethod
1# Copyright (c) 2009, 2012-2013, 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

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

94 panic_on_oops = Param.Bool(False, "Trigger a gem5 panic if the " \
95 "guest kernel oopses")
96
97class LinuxArmSystem(GenericArmSystem):
98 type = 'LinuxArmSystem'
99 cxx_header = "arch/arm/linux/system.hh"
100
101 @classmethod
102 def export_method_cxx_predecls(cls, code):
103 code('#include "arch/arm/linux/system.hh"')
104
105 @classmethod
106 def export_methods(cls, code):
107 code('''void dumpDmesg();''')
108
109class FreebsdArmSystem(GenericArmSystem):
110 type = 'FreebsdArmSystem'
111 cxx_header = "arch/arm/freebsd/system.hh"
102 def export_methods(cls, code):
103 code('''void dumpDmesg();''')
104
105class FreebsdArmSystem(GenericArmSystem):
106 type = 'FreebsdArmSystem'
107 cxx_header = "arch/arm/freebsd/system.hh"