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
55from ClockDomain import *
56
57default_tracer = ExeTracer()
58
59if buildEnv['TARGET_ISA'] == 'alpha':
60 from AlphaTLB import AlphaDTB, AlphaITB
61 from AlphaInterrupts import AlphaInterrupts
62 from AlphaISA import AlphaISA
63 isa_class = AlphaISA

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

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

--- 62 unchanged lines hidden ---