mmapped_ipr.hh revision 8105
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
446691SN/A#include "base/misc.hh"
456691SN/A#include "mem/packet.hh"
466691SN/A
476691SN/Aclass ThreadContext;
486691SN/A
496691SN/Anamespace PowerISA
506691SN/A{
516691SN/A
526691SN/Ainline Tick
536691SN/AhandleIprRead(ThreadContext *xc, Packet *pkt)
546691SN/A{
556691SN/A    panic("No implementation for handleIprRead in POWER\n");
566691SN/A}
576691SN/A
586691SN/Ainline Tick
596691SN/AhandleIprWrite(ThreadContext *xc, Packet *pkt)
606691SN/A{
616691SN/A    panic("No implementation for handleIprWrite in POWER\n");
626691SN/A}
636691SN/A
647811SN/A} // namespace PowerISA
656691SN/A
668105Sgblack@eecs.umich.edu#endif // __ARCH_POWER_MMAPPED_IPR_HH__
67