RealView.py (10845:75df7a87be83) RealView.py (10847:1826ee736709)
1# Copyright (c) 2009-2015 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

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

136 cxx_header = "dev/arm/generic_timer.hh"
137 system = Param.System(Parent.any, "system")
138 gic = Param.BaseGic(Parent.any, "GIC to use for interrupting")
139 # @todo: for now only two timers per CPU is supported, which is the
140 # normal behaviour when security extensions are disabled.
141 int_phys = Param.UInt32("Physical timer interrupt number")
142 int_virt = Param.UInt32("Virtual timer interrupt number")
143
1# Copyright (c) 2009-2015 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

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

136 cxx_header = "dev/arm/generic_timer.hh"
137 system = Param.System(Parent.any, "system")
138 gic = Param.BaseGic(Parent.any, "GIC to use for interrupting")
139 # @todo: for now only two timers per CPU is supported, which is the
140 # normal behaviour when security extensions are disabled.
141 int_phys = Param.UInt32("Physical timer interrupt number")
142 int_virt = Param.UInt32("Virtual timer interrupt number")
143
144class GenericTimerMem(PioDevice):
145 type = 'GenericTimerMem'
146 cxx_header = "dev/arm/generic_timer.hh"
147 gic = Param.BaseGic(Parent.any, "GIC to use for interrupting")
148
149 base = Param.Addr(0, "Base address")
150
151 int_phys = Param.UInt32("Interrupt number")
152 int_virt = Param.UInt32("Interrupt number")
153
144class PL031(AmbaIntDevice):
145 type = 'PL031'
146 cxx_header = "dev/arm/rtc_pl031.hh"
147 time = Param.Time('01/01/2009', "System time to use ('Now' for actual time)")
148 amba_id = 0x00341031
149
150class Pl050(AmbaIntDevice):
151 type = 'Pl050'

--- 475 unchanged lines hidden ---
154class PL031(AmbaIntDevice):
155 type = 'PL031'
156 cxx_header = "dev/arm/rtc_pl031.hh"
157 time = Param.Time('01/01/2009', "System time to use ('Now' for actual time)")
158 amba_id = 0x00341031
159
160class Pl050(AmbaIntDevice):
161 type = 'Pl050'

--- 475 unchanged lines hidden ---