ArmSystem.py (11506:e7c9353aa537) | ArmSystem.py (11538:55014a40512c) |
---|---|
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 --- 84 unchanged lines hidden (view full) --- 93 "guest kernel panics") 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 | 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 --- 84 unchanged lines hidden (view full) --- 93 "guest kernel panics") 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 |
|
101class FreebsdArmSystem(GenericArmSystem): 102 type = 'FreebsdArmSystem' 103 cxx_header = "arch/arm/freebsd/system.hh" | 109class FreebsdArmSystem(GenericArmSystem): 110 type = 'FreebsdArmSystem' 111 cxx_header = "arch/arm/freebsd/system.hh" |