12SN/A# Copyright (c) 2008 The Regents of The University of Michigan
21762SN/A# Copyright (c) 2014 Sven Karlsson
39920Syasuko.eckert@amd.com# Copyright (c) 2016 RISC-V Foundation
42SN/A# Copyright (c) 2016 The University of Virginia
52SN/A# All rights reserved.
62SN/A#
72SN/A# Redistribution and use in source and binary forms, with or without
82SN/A# modification, are permitted provided that the following conditions are
92SN/A# met: redistributions of source code must retain the above copyright
102SN/A# notice, this list of conditions and the following disclaimer;
112SN/A# redistributions in binary form must reproduce the above copyright
122SN/A# notice, this list of conditions and the following disclaimer in the
132SN/A# documentation and/or other materials provided with the distribution;
142SN/A# neither the name of the copyright holders nor the names of its
152SN/A# contributors may be used to endorse or promote products derived from
162SN/A# this software without specific prior written permission.
172SN/A#
182SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
192SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
202SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
212SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
222SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
232SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
242SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
252SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
262SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
272SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
282665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
292665Ssaidi@eecs.umich.edu#
302SN/A# Authors: Gabe Black
312SN/A#          Sven Karlsson
321464SN/A#          Alec Roelke
331464SN/A
342SN/Afrom m5.SimObject import SimObject
352SN/A
362SN/Aclass RiscvInterrupts(SimObject):
372SN/A    type = 'RiscvInterrupts'
388229Snate@binkert.org    cxx_class = 'RiscvISA::Interrupts'
397720Sgblack@eecs.umich.edu    cxx_header = 'arch/riscv/interrupts.hh'
4012334Sgabeblack@google.com