mmapped_ipr.hh revision 9897
13806SN/A/* 25268SN/A * Copyright (c) 2006 The Regents of The University of Michigan 35254SN/A * All rights reserved. 43806SN/A * 55254SN/A * Redistribution and use in source and binary forms, with or without 65254SN/A * modification, are permitted provided that the following conditions are 75254SN/A * met: redistributions of source code must retain the above copyright 85254SN/A * notice, this list of conditions and the following disclaimer; 95254SN/A * redistributions in binary form must reproduce the above copyright 105254SN/A * notice, this list of conditions and the following disclaimer in the 115254SN/A * documentation and/or other materials provided with the distribution; 125254SN/A * neither the name of the copyright holders nor the names of its 135254SN/A * contributors may be used to endorse or promote products derived from 145254SN/A * this software without specific prior written permission. 153806SN/A * 165254SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 175254SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 185254SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 195254SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 205254SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 215254SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 225254SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 235254SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 245254SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 255254SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 265254SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 275222SN/A * 285268SN/A * Authors: Ali Saidi 293806SN/A */ 303806SN/A 318105Sgblack@eecs.umich.edu#ifndef __ARCH_MIPS_MMAPPED_IPR_HH__ 328105Sgblack@eecs.umich.edu#define __ARCH_MIPS_MMAPPED_IPR_HH__ 333806SN/A 343806SN/A/** 353806SN/A * @file 363806SN/A * 373806SN/A * ISA-specific helper functions for memory mapped IPR accesses. 383806SN/A */ 393806SN/A 409897Sandreas@sandberg.pp.se#include "arch/generic/mmapped_ipr.hh" 413806SN/A 423840SN/Aclass ThreadContext; 433806SN/A 443806SN/Anamespace MipsISA 453806SN/A{ 469897Sandreas@sandberg.pp.se using GenericISA::handleIprRead; 479897Sandreas@sandberg.pp.se using GenericISA::handleIprWrite; 483806SN/A} // namespace MipsISA 493806SN/A 503806SN/A#endif 51