Gic.py (11652:2c111e634da0) | Gic.py (12739:55a86872ff90) |
---|---|
1# Copyright (c) 2012-2013 ARM Limited | 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 9# terms below provided that you ensure that this notice is replicated --- 34 unchanged lines hidden (view full) --- 44 45class BaseGic(PioDevice): 46 type = 'BaseGic' 47 abstract = True 48 cxx_header = "dev/arm/base_gic.hh" 49 50 platform = Param.Platform(Parent.any, "Platform this device is part of.") 51 | 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 --- 34 unchanged lines hidden (view full) --- 44 45class BaseGic(PioDevice): 46 type = 'BaseGic' 47 abstract = True 48 cxx_header = "dev/arm/base_gic.hh" 49 50 platform = Param.Platform(Parent.any, "Platform this device is part of.") 51 |
52class ArmInterruptPin(SimObject): 53 type = 'ArmInterruptPin' 54 cxx_header = "dev/arm/base_gic.hh" 55 abstract = True 56 57 platform = Param.Platform(Parent.any, "Platform with interrupt controller") 58 num = Param.UInt32("Interrupt number in GIC") 59 60class ArmSPI(ArmInterruptPin): 61 type = 'ArmSPI' 62 cxx_header = "dev/arm/base_gic.hh" 63 64class ArmPPI(ArmInterruptPin): 65 type = 'ArmPPI' 66 cxx_header = "dev/arm/base_gic.hh" 67 68 |
|
52class Pl390(BaseGic): 53 type = 'Pl390' 54 cxx_header = "dev/arm/gic_pl390.hh" 55 56 dist_addr = Param.Addr(0x1f001000, "Address for distributor") 57 cpu_addr = Param.Addr(0x1f000100, "Address for cpu") 58 dist_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to distributor") 59 cpu_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to cpu interface") --- 18 unchanged lines hidden --- | 69class Pl390(BaseGic): 70 type = 'Pl390' 71 cxx_header = "dev/arm/gic_pl390.hh" 72 73 dist_addr = Param.Addr(0x1f001000, "Address for distributor") 74 cpu_addr = Param.Addr(0x1f000100, "Address for cpu") 75 dist_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to distributor") 76 cpu_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to cpu interface") --- 18 unchanged lines hidden --- |