ArmISA.py (10461:afeb5cdb3907) ArmISA.py (11165:d90aec9435bd)
1# Copyright (c) 2012-2013 ARM Limited
1# Copyright (c) 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
9# terms below provided that you ensure that this notice is replicated

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

37# Giacomo Gabrielli
38
39from m5.params import *
40from m5.proxy import *
41from m5.SimObject import SimObject
42
43from ArmPMU import ArmPMU
44
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
9# terms below provided that you ensure that this notice is replicated

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

37# Giacomo Gabrielli
38
39from m5.params import *
40from m5.proxy import *
41from m5.SimObject import SimObject
42
43from ArmPMU import ArmPMU
44
45# Enum for DecoderFlavour
46class DecoderFlavour(Enum): vals = ['Generic']
47
45class ArmISA(SimObject):
46 type = 'ArmISA'
47 cxx_class = 'ArmISA::ISA'
48 cxx_header = "arch/arm/isa.hh"
49
50 system = Param.System(Parent.any, "System this ISA object belongs to")
51
52 pmu = Param.ArmPMU(NULL, "Performance Monitoring Unit")
48class ArmISA(SimObject):
49 type = 'ArmISA'
50 cxx_class = 'ArmISA::ISA'
51 cxx_header = "arch/arm/isa.hh"
52
53 system = Param.System(Parent.any, "System this ISA object belongs to")
54
55 pmu = Param.ArmPMU(NULL, "Performance Monitoring Unit")
56 decoderFlavour = Param.DecoderFlavour('Generic', "Decoder flavour specification")
53
54 midr = Param.UInt32(0x410fc0f0, "MIDR value")
55
56 # See section B4.1.93 - B4.1.94 of the ARM ARM
57 #
58 # !ThumbEE | !Jazelle | Thumb | ARM
59 # Note: ThumbEE is disabled for now since we don't support CP14
60 # config registers and jumping to ThumbEE vectors

--- 61 unchanged lines hidden ---
57
58 midr = Param.UInt32(0x410fc0f0, "MIDR value")
59
60 # See section B4.1.93 - B4.1.94 of the ARM ARM
61 #
62 # !ThumbEE | !Jazelle | Thumb | ARM
63 # Note: ThumbEE is disabled for now since we don't support CP14
64 # config registers and jumping to ThumbEE vectors

--- 61 unchanged lines hidden ---