Gic.py (12739:55a86872ff90) | Gic.py (12974:b840a646cfbd) |
---|---|
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 --- 38 unchanged lines hidden (view full) --- 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" | 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 --- 38 unchanged lines hidden (view full) --- 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 cxx_class = "ArmInterruptPinGen" |
|
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" | 56 abstract = True 57 58 platform = Param.Platform(Parent.any, "Platform with interrupt controller") 59 num = Param.UInt32("Interrupt number in GIC") 60 61class ArmSPI(ArmInterruptPin): 62 type = 'ArmSPI' 63 cxx_header = "dev/arm/base_gic.hh" |
64 cxx_class = "ArmSPIGen" |
|
63 64class ArmPPI(ArmInterruptPin): 65 type = 'ArmPPI' 66 cxx_header = "dev/arm/base_gic.hh" | 65 66class ArmPPI(ArmInterruptPin): 67 type = 'ArmPPI' 68 cxx_header = "dev/arm/base_gic.hh" |
69 cxx_class = "ArmPPIGen" |
|
67 | 70 |
68 | |
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 --- | 71class Pl390(BaseGic): 72 type = 'Pl390' 73 cxx_header = "dev/arm/gic_pl390.hh" 74 75 dist_addr = Param.Addr(0x1f001000, "Address for distributor") 76 cpu_addr = Param.Addr(0x1f000100, "Address for cpu") 77 dist_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to distributor") 78 cpu_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to cpu interface") --- 18 unchanged lines hidden --- |