16691SN/A/*
26691SN/A * Copyright (c) 2006 The Regents of The University of Michigan
36691SN/A * Copyright (c) 2007-2008 The Florida State University
46691SN/A * Copyright (c) 2009 The University of Edinburgh
56691SN/A * All rights reserved.
66691SN/A *
76691SN/A * Redistribution and use in source and binary forms, with or without
86691SN/A * modification, are permitted provided that the following conditions are
96691SN/A * met: redistributions of source code must retain the above copyright
106691SN/A * notice, this list of conditions and the following disclaimer;
116691SN/A * redistributions in binary form must reproduce the above copyright
126691SN/A * notice, this list of conditions and the following disclaimer in the
136691SN/A * documentation and/or other materials provided with the distribution;
146691SN/A * neither the name of the copyright holders nor the names of its
156691SN/A * contributors may be used to endorse or promote products derived from
166691SN/A * this software without specific prior written permission.
176691SN/A *
186691SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
196691SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
206691SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
216691SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
226691SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
236691SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
246691SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
256691SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
266691SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
276691SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
286691SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
296691SN/A *
306691SN/A * Authors: Ali Saidi
316691SN/A *          Stephen Hines
326691SN/A *          Timothy M. Jones
336691SN/A */
346691SN/A
358105Sgblack@eecs.umich.edu#ifndef __ARCH_POWER_MMAPPED_IPR_HH__
368105Sgblack@eecs.umich.edu#define __ARCH_POWER_MMAPPED_IPR_HH__
376691SN/A
386691SN/A/**
396691SN/A * @file
406691SN/A *
416691SN/A * ISA-specific helper functions for memory mapped IPR accesses.
426691SN/A */
436691SN/A
449897Sandreas@sandberg.pp.se#include "arch/generic/mmapped_ipr.hh"
456691SN/A
466691SN/Aclass ThreadContext;
476691SN/A
486691SN/Anamespace PowerISA
496691SN/A{
509897Sandreas@sandberg.pp.se    using GenericISA::handleIprRead;
519897Sandreas@sandberg.pp.se    using GenericISA::handleIprWrite;
527811SN/A} // namespace PowerISA
536691SN/A
548105Sgblack@eecs.umich.edu#endif // __ARCH_POWER_MMAPPED_IPR_HH__
55