mmapped_ipr.hh revision 4152
16791SN/A/*
26791SN/A * Copyright (c) 2006 The Regents of The University of Michigan
36791SN/A * All rights reserved.
46791SN/A *
56791SN/A * Redistribution and use in source and binary forms, with or without
66791SN/A * modification, are permitted provided that the following conditions are
76791SN/A * met: redistributions of source code must retain the above copyright
86791SN/A * notice, this list of conditions and the following disclaimer;
96791SN/A * redistributions in binary form must reproduce the above copyright
106791SN/A * notice, this list of conditions and the following disclaimer in the
116791SN/A * documentation and/or other materials provided with the distribution;
126791SN/A * neither the name of the copyright holders nor the names of its
136791SN/A * contributors may be used to endorse or promote products derived from
146791SN/A * this software without specific prior written permission.
156791SN/A *
166791SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
176791SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
186791SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
196791SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
206791SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
216791SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
226791SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
236791SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
246791SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
256791SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
266791SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
276791SN/A *
286791SN/A * Authors: Ali Saidi
297039SN/A */
307039SN/A
316791SN/A#ifndef __ARCH_ALPHA_MMAPED_IPR_HH__
327055SN/A#define __ARCH_ALPHA_MMAPED_IPR_HH__
337055SN/A
347455SN/A/**
357039SN/A * @file
367039SN/A *
3710301Snilay@cs.wisc.edu * ISA-specific helper functions for memory mapped IPR accesses.
387039SN/A */
396791SN/A
407039SN/A#include "mem/packet.hh"
417039SN/A
427039SN/A
438607SN/Anamespace AlphaISA
447055SN/A{
456791SN/Ainline Tick
467039SN/AhandleIprRead(ThreadContext *xc, Packet *pkt)
477039SN/A{
487039SN/A    panic("No handleIprRead implementation in Alpha\n");
496797SN/A}
506791SN/A
517039SN/A
527039SN/Ainline Tick
537039SN/AhandleIprWrite(ThreadContext *xc, Packet *pkt)
547039SN/A{
557039SN/A    panic("No handleIprWrite implementation in Alpha\n");
566791SN/A}
577039SN/A
587039SN/A
597054SN/A} // namespace AlphaISA
607039SN/A
617039SN/A#endif
627039SN/A