KvmGic.py revision 11842:5a766820e739
14997Sgblack@eecs.umich.edu# Copyright (c) 2015, 2017 ARM Limited 24997Sgblack@eecs.umich.edu# All rights reserved. 34997Sgblack@eecs.umich.edu# 44997Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall 54997Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual 64997Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating 74997Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software 84997Sgblack@eecs.umich.edu# licensed hereunder. You may use the software subject to the license 94997Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated 104997Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software, 114997Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form. 124997Sgblack@eecs.umich.edu# 134997Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 144997Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 154997Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 164997Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 174997Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 184997Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 194997Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 204997Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 214997Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 224997Sgblack@eecs.umich.edu# this software without specific prior written permission. 234997Sgblack@eecs.umich.edu# 244997Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 254997Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 264997Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 274997Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 284997Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 294997Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 304997Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 314997Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 324997Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 334997Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 344997Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 354997Sgblack@eecs.umich.edu# 364997Sgblack@eecs.umich.edu# Authors: Andreas Sandberg 374997Sgblack@eecs.umich.edu 384997Sgblack@eecs.umich.edufrom m5.params import * 394997Sgblack@eecs.umich.edufrom m5.proxy import * 404997Sgblack@eecs.umich.edu 414997Sgblack@eecs.umich.edufrom Gic import Pl390 424997Sgblack@eecs.umich.edu 434997Sgblack@eecs.umich.educlass MuxingKvmGic(Pl390): 444997Sgblack@eecs.umich.edu type = 'MuxingKvmGic' 454997Sgblack@eecs.umich.edu cxx_header = "arch/arm/kvm/gic.hh" 464997Sgblack@eecs.umich.edu