mmapped_ipr.hh revision 5647
16145SN/A/*
28683SN/A * Copyright (c) 2006 The Regents of The University of Michigan
310973Sdavid.hashe@amd.com * All rights reserved.
46145SN/A *
56145SN/A * Redistribution and use in source and binary forms, with or without
66145SN/A * modification, are permitted provided that the following conditions are
76145SN/A * met: redistributions of source code must retain the above copyright
86145SN/A * notice, this list of conditions and the following disclaimer;
96145SN/A * redistributions in binary form must reproduce the above copyright
106145SN/A * notice, this list of conditions and the following disclaimer in the
116145SN/A * documentation and/or other materials provided with the distribution;
126145SN/A * neither the name of the copyright holders nor the names of its
136145SN/A * contributors may be used to endorse or promote products derived from
146145SN/A * this software without specific prior written permission.
156145SN/A *
166145SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
176145SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
186145SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
196145SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
206145SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
216145SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
226145SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
236145SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
246145SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
256145SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
266145SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
276145SN/A *
286145SN/A * Authors: Ali Saidi
296145SN/A */
3010441Snilay@cs.wisc.edu
3110441Snilay@cs.wisc.edu#ifndef __ARCH_ALPHA_MMAPED_IPR_HH__
326145SN/A#define __ARCH_ALPHA_MMAPED_IPR_HH__
337055SN/A
3411168Sandreas.hansson@arm.com/**
356145SN/A * @file
366145SN/A *
379104SN/A * ISA-specific helper functions for memory mapped IPR accesses.
387039SN/A */
3914184Sgabeblack@google.com
4014184Sgabeblack@google.com#include "mem/packet.hh"
4114184Sgabeblack@google.com
427039SN/Anamespace AlphaISA {
437039SN/A
4410970Sdavid.hashe@amd.cominline Tick
4510301Snilay@cs.wisc.eduhandleIprRead(ThreadContext *xc, Packet *pkt)
4610301Snilay@cs.wisc.edu{
477039SN/A    panic("No handleIprRead implementation in Alpha\n");
487039SN/A}
496145SN/A
507039SN/A
517039SN/Ainline Tick
527039SN/AhandleIprWrite(ThreadContext *xc, Packet *pkt)
536876SN/A{
547039SN/A    panic("No handleIprWrite implementation in Alpha\n");
557039SN/A}
566145SN/A
577039SN/A
586145SN/A} // namespace AlphaISA
5911049Snilay@cs.wisc.edu
6011049Snilay@cs.wisc.edu#endif // __ARCH_ALPHA_MMAPED_IPR_HH__
6111049Snilay@cs.wisc.edu