mmapped_ipr.hh revision 9897:e105fbf799e7
12036SN/A/* 22036SN/A * Copyright (c) 2006 The Regents of The University of Michigan 32036SN/A * Copyright (c) 2007-2008 The Florida State University 42036SN/A * Copyright (c) 2009 The University of Edinburgh 52036SN/A * All rights reserved. 62036SN/A * 72036SN/A * Redistribution and use in source and binary forms, with or without 82036SN/A * modification, are permitted provided that the following conditions are 92036SN/A * met: redistributions of source code must retain the above copyright 102036SN/A * notice, this list of conditions and the following disclaimer; 112036SN/A * redistributions in binary form must reproduce the above copyright 122036SN/A * notice, this list of conditions and the following disclaimer in the 132036SN/A * documentation and/or other materials provided with the distribution; 142036SN/A * neither the name of the copyright holders nor the names of its 152036SN/A * contributors may be used to endorse or promote products derived from 162036SN/A * this software without specific prior written permission. 172036SN/A * 182036SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 192036SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 202036SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 212036SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 222036SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 232036SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 242036SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 252036SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 262036SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 272665Ssaidi@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 282956Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 292956Sgblack@eecs.umich.edu * 302772Ssaidi@eecs.umich.edu * Authors: Ali Saidi 312036SN/A * Stephen Hines 322036SN/A * Timothy M. Jones 332036SN/A */ 342036SN/A 352036SN/A#ifndef __ARCH_POWER_MMAPPED_IPR_HH__ 362036SN/A#define __ARCH_POWER_MMAPPED_IPR_HH__ 372036SN/A 382036SN/A/** 392036SN/A * @file 402779Sbinkertn@umich.edu * 412036SN/A * ISA-specific helper functions for memory mapped IPR accesses. 422036SN/A */ 432036SN/A 442036SN/A#include "arch/generic/mmapped_ipr.hh" 452036SN/A 462565SN/Aclass ThreadContext; 472565SN/A 482565SN/Anamespace PowerISA 492565SN/A{ 503483Ssaidi@eecs.umich.edu using GenericISA::handleIprRead; 513483Ssaidi@eecs.umich.edu using GenericISA::handleIprWrite; 522036SN/A} // namespace PowerISA 532036SN/A 542036SN/A#endif // __ARCH_POWER_MMAPPED_IPR_HH__ 552036SN/A