Deleted Added
sdiff udiff text old ( 9788:5558ee8dd7d9 ) new ( 9793:6e6cefc1db1f )
full compact
1# Copyright (c) 2012 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

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

47from m5.params import *
48from m5.proxy import *
49
50from Bus import CoherentBus
51from InstTracer import InstTracer
52from ExeTracer import ExeTracer
53from MemObject import MemObject
54from BranchPredictor import BranchPredictor
55
56default_tracer = ExeTracer()
57
58if buildEnv['TARGET_ISA'] == 'alpha':
59 from AlphaTLB import AlphaDTB, AlphaITB
60 from AlphaInterrupts import AlphaInterrupts
61 from AlphaISA import AlphaISA
62 isa_class = AlphaISA

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

221 _uncached_master_ports += ["interrupts.int_master"]
222
223 def createInterruptController(self):
224 if buildEnv['TARGET_ISA'] == 'sparc':
225 self.interrupts = SparcInterrupts()
226 elif buildEnv['TARGET_ISA'] == 'alpha':
227 self.interrupts = AlphaInterrupts()
228 elif buildEnv['TARGET_ISA'] == 'x86':
229 self.interrupts = X86LocalApic(clock = Parent.clock * 16,
230 pio_addr=0x2000000000000000)
231 _localApic = self.interrupts
232 elif buildEnv['TARGET_ISA'] == 'mips':
233 self.interrupts = MipsInterrupts()
234 elif buildEnv['TARGET_ISA'] == 'arm':
235 self.interrupts = ArmInterrupts()
236 elif buildEnv['TARGET_ISA'] == 'power':
237 self.interrupts = PowerInterrupts()

--- 62 unchanged lines hidden ---