14486SN/A# Copyright (c) 2005-2007 The Regents of The University of Michigan
24486SN/A# All rights reserved.
34486SN/A#
44486SN/A# Redistribution and use in source and binary forms, with or without
54486SN/A# modification, are permitted provided that the following conditions are
64486SN/A# met: redistributions of source code must retain the above copyright
74486SN/A# notice, this list of conditions and the following disclaimer;
84486SN/A# redistributions in binary form must reproduce the above copyright
94486SN/A# notice, this list of conditions and the following disclaimer in the
104486SN/A# documentation and/or other materials provided with the distribution;
114486SN/A# neither the name of the copyright holders nor the names of its
124486SN/A# contributors may be used to endorse or promote products derived from
134486SN/A# this software without specific prior written permission.
144486SN/A#
154486SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
164486SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
174486SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
184486SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
194486SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
204486SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
214486SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
224486SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
234486SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
244486SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
254486SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
264486SN/A#
274486SN/A# Authors: Nathan Binkert
284486SN/A
298739Sgblack@eecs.umich.edufrom m5.defines import buildEnv
303102SN/Afrom m5.params import *
313102SN/Afrom m5.proxy import *
3213665Sandreas.sandberg@arm.com
3313665Sandreas.sandberg@arm.comfrom m5.objects.Device import BasicPioDevice
341310SN/A
355480Snate@binkert.orgclass AlphaBackdoor(BasicPioDevice):
365480Snate@binkert.org    type = 'AlphaBackdoor'
379338SAndreas.Sandberg@arm.com    cxx_header = "dev/alpha/backdoor.hh"
383312SN/A    cpu = Param.BaseCPU(Parent.cpu[0], "Processor")
391310SN/A    disk = Param.SimpleDisk("Simple Disk")
405478SN/A    terminal = Param.Terminal(Parent.any, "The console terminal")
418742Sgblack@eecs.umich.edu    platform = Param.Platform(Parent.any, "Platform this device is part of.")
428789Sgblack@eecs.umich.edu    system = Param.AlphaSystem(Parent.any, "system object")
43