Gic.py (13505:e699fce12780) Gic.py (13531:e6f1bf55d038)
1# Copyright (c) 2012-2013, 2017-2018 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

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

155
156 node.append(FdtPropertyWords("reg", regs))
157 node.append(FdtPropertyWords("interrupts",
158 [1, int(self.ppint)-16, 0xf04]))
159
160 node.appendPhandle(gic)
161
162 yield node
1# Copyright (c) 2012-2013, 2017-2018 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

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

155
156 node.append(FdtPropertyWords("reg", regs))
157 node.append(FdtPropertyWords("interrupts",
158 [1, int(self.ppint)-16, 0xf04]))
159
160 node.appendPhandle(gic)
161
162 yield node
163
164class Gicv3(BaseGic):
165 type = 'Gicv3'
166 cxx_header = "dev/arm/gic_v3.hh"
167
168 dist_addr = Param.Addr(0x2c000000, "Address for distributor")
169 dist_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to distributor")
170 redist_addr = Param.Addr(0x2c010000, "Address for redistributors")
171 redist_pio_delay = Param.Latency('10ns',
172 "Delay for PIO r/w to redistributors")
173 it_lines = Param.UInt32(1020,
174 "Number of interrupt lines supported (max = 1020)")