KvmGic.py (11839:dd6df2e47c14) | KvmGic.py (11840:16943209ed85) |
---|---|
1# Copyright (c) 2015 ARM Limited | 1# Copyright (c) 2015, 2017 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 --- 23 unchanged lines hidden (view full) --- 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36# Authors: Andreas Sandberg 37 38from m5.params import * 39from m5.proxy import * 40 | 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 --- 23 unchanged lines hidden (view full) --- 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36# Authors: Andreas Sandberg 37 38from m5.params import * 39from m5.proxy import * 40 |
41from Gic import BaseGic | 41from Gic import BaseGic, Pl390 |
42from KvmVM import KvmVM 43from System import System 44 45class KvmGic(BaseGic): 46 type = 'KvmGic' 47 cxx_header = "arch/arm/kvm/gic.hh" 48 49 dist_addr = Param.Addr(0x1f001000, "Address for distributor") 50 cpu_addr = Param.Addr(0x1f000100, "Address for cpu") 51 it_lines = Param.UInt32(128, "Number of interrupt lines supported") 52 53 system = Param.System(Parent.any, 54 'System this interrupt controller belongs to') | 42from KvmVM import KvmVM 43from System import System 44 45class KvmGic(BaseGic): 46 type = 'KvmGic' 47 cxx_header = "arch/arm/kvm/gic.hh" 48 49 dist_addr = Param.Addr(0x1f001000, "Address for distributor") 50 cpu_addr = Param.Addr(0x1f000100, "Address for cpu") 51 it_lines = Param.UInt32(128, "Number of interrupt lines supported") 52 53 system = Param.System(Parent.any, 54 'System this interrupt controller belongs to') |
55 56class MuxingKvmGic(Pl390): 57 type = 'MuxingKvmGic' 58 cxx_header = "arch/arm/kvm/gic.hh" |
|