mmapped_ipr.hh revision 4152
16019SN/A/* 26019SN/A * Copyright (c) 2006 The Regents of The University of Michigan 36019SN/A * All rights reserved. 46019SN/A * 56019SN/A * Redistribution and use in source and binary forms, with or without 66019SN/A * modification, are permitted provided that the following conditions are 76019SN/A * met: redistributions of source code must retain the above copyright 86019SN/A * notice, this list of conditions and the following disclaimer; 96019SN/A * redistributions in binary form must reproduce the above copyright 106019SN/A * notice, this list of conditions and the following disclaimer in the 116019SN/A * documentation and/or other materials provided with the distribution; 126019SN/A * neither the name of the copyright holders nor the names of its 136019SN/A * contributors may be used to endorse or promote products derived from 146019SN/A * this software without specific prior written permission. 156019SN/A * 166019SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 176019SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 186019SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 196019SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 206019SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 216019SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 226019SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 236019SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 246019SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 256019SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 266019SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 276019SN/A * 286019SN/A * Authors: Ali Saidi 296019SN/A */ 306019SN/A 316329Sgblack@eecs.umich.edu#ifndef __ARCH_ALPHA_MMAPED_IPR_HH__ 326329Sgblack@eecs.umich.edu#define __ARCH_ALPHA_MMAPED_IPR_HH__ 336019SN/A 346329Sgblack@eecs.umich.edu/** 356329Sgblack@eecs.umich.edu * @file 366328SN/A * 376329Sgblack@eecs.umich.edu * ISA-specific helper functions for memory mapped IPR accesses. 386328SN/A */ 396329Sgblack@eecs.umich.edu 406329Sgblack@eecs.umich.edu#include "mem/packet.hh" 416328SN/A 426329Sgblack@eecs.umich.edu 436328SN/Anamespace AlphaISA 446329Sgblack@eecs.umich.edu{ 456328SN/Ainline Tick 466329Sgblack@eecs.umich.eduhandleIprRead(ThreadContext *xc, Packet *pkt) 476329Sgblack@eecs.umich.edu{ 486329Sgblack@eecs.umich.edu panic("No handleIprRead implementation in Alpha\n"); 496328SN/A} 506329Sgblack@eecs.umich.edu 516329Sgblack@eecs.umich.edu 526328SN/Ainline Tick 536329Sgblack@eecs.umich.eduhandleIprWrite(ThreadContext *xc, Packet *pkt) 546329Sgblack@eecs.umich.edu{ 556329Sgblack@eecs.umich.edu panic("No handleIprWrite implementation in Alpha\n"); 566329Sgblack@eecs.umich.edu} 576329Sgblack@eecs.umich.edu 586329Sgblack@eecs.umich.edu 596328SN/A} // namespace AlphaISA 606329Sgblack@eecs.umich.edu 616329Sgblack@eecs.umich.edu#endif 626328SN/A