mmapped_ipr.hh revision 7087
15390SN/A/* 25445SN/A * Copyright (c) 2006 The Regents of The University of Michigan 35390SN/A * All rights reserved. 45390SN/A * 55390SN/A * Redistribution and use in source and binary forms, with or without 65390SN/A * modification, are permitted provided that the following conditions are 75390SN/A * met: redistributions of source code must retain the above copyright 85390SN/A * notice, this list of conditions and the following disclaimer; 95390SN/A * redistributions in binary form must reproduce the above copyright 105390SN/A * notice, this list of conditions and the following disclaimer in the 115390SN/A * documentation and/or other materials provided with the distribution; 125390SN/A * neither the name of the copyright holders nor the names of its 135390SN/A * contributors may be used to endorse or promote products derived from 145390SN/A * this software without specific prior written permission. 155390SN/A * 165390SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 175390SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 185390SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 195390SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 205390SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 215390SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 225390SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 235390SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 245390SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 255390SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 265390SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 275390SN/A * 285390SN/A * Authors: Ali Saidi 295390SN/A */ 305390SN/A 3111793Sbrandon.potter@amd.com#ifndef __ARCH_ALPHA_MMAPED_IPR_HH__ 3211793Sbrandon.potter@amd.com#define __ARCH_ALPHA_MMAPED_IPR_HH__ 335390SN/A 345445SN/A/** 358232Snate@binkert.org * @file 365636Sgblack@eecs.umich.edu * 375636Sgblack@eecs.umich.edu * ISA-specific helper functions for memory mapped IPR accesses. 385390SN/A */ 395390SN/A 405390SN/A#include "base/types.hh" 415390SN/A#include "mem/packet.hh" 425390SN/A 435636Sgblack@eecs.umich.educlass ThreadContext; 445390SN/A 455636Sgblack@eecs.umich.edunamespace AlphaISA { 465636Sgblack@eecs.umich.edu 475445SN/Ainline Tick 485445SN/AhandleIprRead(ThreadContext *xc, Packet *pkt) 495445SN/A{ 505445SN/A panic("No handleIprRead implementation in Alpha\n"); 515445SN/A} 525898Sgblack@eecs.umich.edu 535390SN/A 545390SN/Ainline Tick 555390SN/AhandleIprWrite(ThreadContext *xc, Packet *pkt) 565390SN/A{ 575390SN/A panic("No handleIprWrite implementation in Alpha\n"); 585390SN/A} 595636Sgblack@eecs.umich.edu 605390SN/A 615390SN/A} // namespace AlphaISA 625445SN/A 635445SN/A#endif // __ARCH_ALPHA_MMAPED_IPR_HH__ 645445SN/A