RealView.py (7584:28ddf6d9e982) RealView.py (7587:177151a54462)
1# Copyright (c) 2009 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

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

36# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38#
39# Authors: Ali Saidi
40# Gabe Black
41
42from m5.params import *
43from m5.proxy import *
1# Copyright (c) 2009 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

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

36# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38#
39# Authors: Ali Saidi
40# Gabe Black
41
42from m5.params import *
43from m5.proxy import *
44from Device import BasicPioDevice, PioDevice, IsaFake, BadAddr
44from Device import BasicPioDevice, PioDevice, IsaFake, BadAddr, DmaDevice
45from Platform import Platform
46from Terminal import Terminal
47from Uart import Uart
48
49class AmbaDevice(BasicPioDevice):
50 type = 'AmbaDevice'
51 abstract = True
52 amba_id = Param.UInt32("ID of AMBA device for kernel detection")
53
45from Platform import Platform
46from Terminal import Terminal
47from Uart import Uart
48
49class AmbaDevice(BasicPioDevice):
50 type = 'AmbaDevice'
51 abstract = True
52 amba_id = Param.UInt32("ID of AMBA device for kernel detection")
53
54class AmbaDmaDevice(DmaDevice):
55 type = 'AmbaDmaDevice'
56 abstract = True
57 amba_id = Param.UInt32("ID of AMBA device for kernel detection")
58
54class RealViewCtrl(BasicPioDevice):
55 type = 'RealViewCtrl'
56 proc_id = Param.UInt32(0x0C000000, "Platform ID")
57
58class Gic(PioDevice):
59 type = 'Gic'
60 dist_addr = Param.Addr(0x1f001000, "Address for distributor")
61 cpu_addr = Param.Addr(0x1f000100, "Address for cpu")

--- 151 unchanged lines hidden ---
59class RealViewCtrl(BasicPioDevice):
60 type = 'RealViewCtrl'
61 proc_id = Param.UInt32(0x0C000000, "Platform ID")
62
63class Gic(PioDevice):
64 type = 'Gic'
65 dist_addr = Param.Addr(0x1f001000, "Address for distributor")
66 cpu_addr = Param.Addr(0x1f000100, "Address for cpu")

--- 151 unchanged lines hidden ---