PowerInterrupts.py revision 9338
18745Sgblack@eecs.umich.edu# Copyright (c) 2011 Google 28745Sgblack@eecs.umich.edu# All rights reserved. 38745Sgblack@eecs.umich.edu# 48745Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 58745Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 68745Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 78745Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 88745Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 98745Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 108745Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 118745Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 128745Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 138745Sgblack@eecs.umich.edu# this software without specific prior written permission. 148745Sgblack@eecs.umich.edu# 158745Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 168745Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 178745Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 188745Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 198745Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 208745Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 218745Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 228745Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 238745Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 248745Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 258745Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 268745Sgblack@eecs.umich.edu# 278745Sgblack@eecs.umich.edu# Authors: Gabe Black 288745Sgblack@eecs.umich.edu 298745Sgblack@eecs.umich.edufrom m5.SimObject import SimObject 308745Sgblack@eecs.umich.edu 318745Sgblack@eecs.umich.educlass PowerInterrupts(SimObject): 328745Sgblack@eecs.umich.edu type = 'PowerInterrupts' 338745Sgblack@eecs.umich.edu cxx_class = 'PowerISA::Interrupts' 349338SAndreas.Sandberg@arm.com cxx_header = 'arch/power/interrupts.hh' 35