SMMUv3.py (14252:1659a606447f) SMMUv3.py (14273:027dd664fe2c)
1# Copyright (c) 2013, 2018-2019 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

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

202 slave_interface.slave = device.master
203 elif hasattr(device, "dma"):
204 slave_interface.slave = device.dma
205 else:
206 print("Unable to attach SMMUv3\n")
207 sys.exit(1)
208
209 self.slave_interfaces.append(slave_interface)
1# Copyright (c) 2013, 2018-2019 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

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

202 slave_interface.slave = device.master
203 elif hasattr(device, "dma"):
204 slave_interface.slave = device.dma
205 else:
206 print("Unable to attach SMMUv3\n")
207 sys.exit(1)
208
209 self.slave_interfaces.append(slave_interface)
210
211 # Storing a reference to the smmu to be used when generating
212 # the binding in the device DTB.
213 device._iommu = self