ArmISA.py (10037:5cac77888310) ArmISA.py (10461:afeb5cdb3907)
1# Copyright (c) 2012-2013 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

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

35#
36# Authors: Andreas Sandberg
37# Giacomo Gabrielli
38
39from m5.params import *
40from m5.proxy import *
41from m5.SimObject import SimObject
42
1# Copyright (c) 2012-2013 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

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

35#
36# Authors: Andreas Sandberg
37# Giacomo Gabrielli
38
39from m5.params import *
40from m5.proxy import *
41from m5.SimObject import SimObject
42
43from ArmPMU import ArmPMU
44
43class ArmISA(SimObject):
44 type = 'ArmISA'
45 cxx_class = 'ArmISA::ISA'
46 cxx_header = "arch/arm/isa.hh"
47
48 system = Param.System(Parent.any, "System this ISA object belongs to")
49
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")
53
50 midr = Param.UInt32(0x410fc0f0, "MIDR value")
51
52 # See section B4.1.93 - B4.1.94 of the ARM ARM
53 #
54 # !ThumbEE | !Jazelle | Thumb | ARM
55 # Note: ThumbEE is disabled for now since we don't support CP14
56 # config registers and jumping to ThumbEE vectors
57 id_pfr0 = Param.UInt32(0x00000031, "Processor Feature Register 0")

--- 60 unchanged lines hidden ---
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 id_pfr0 = Param.UInt32(0x00000031, "Processor Feature Register 0")

--- 60 unchanged lines hidden ---