18759Sgblack@eecs.umich.edu/* 28806Sgblack@eecs.umich.edu * Copyright (c) 2012 Google 38759Sgblack@eecs.umich.edu * All rights reserved. 48759Sgblack@eecs.umich.edu * 58759Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 68759Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are 78759Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright 88759Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 98759Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 108759Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 118759Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution; 128759Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its 138759Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from 148759Sgblack@eecs.umich.edu * this software without specific prior written permission. 158759Sgblack@eecs.umich.edu * 168759Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 178759Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 188759Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 198759Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 208759Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 218759Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 228759Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 238759Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 248759Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 258759Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 268759Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 278759Sgblack@eecs.umich.edu * 288806Sgblack@eecs.umich.edu * Authors: Gabe Black 298759Sgblack@eecs.umich.edu */ 308759Sgblack@eecs.umich.edu 318759Sgblack@eecs.umich.edu#include "arch/power/vtophys.hh" 328759Sgblack@eecs.umich.edu 338759Sgblack@eecs.umich.eduusing namespace std; 348759Sgblack@eecs.umich.edu 358759Sgblack@eecs.umich.eduAddr 368759Sgblack@eecs.umich.eduPowerISA::vtophys(Addr vaddr) 378759Sgblack@eecs.umich.edu{ 388806Sgblack@eecs.umich.edu fatal("vtophys: Unimplemented on POWER\n"); 398759Sgblack@eecs.umich.edu} 408759Sgblack@eecs.umich.edu 418759Sgblack@eecs.umich.eduAddr 428759Sgblack@eecs.umich.eduPowerISA::vtophys(ThreadContext *tc, Addr addr) 438759Sgblack@eecs.umich.edu{ 448806Sgblack@eecs.umich.edu fatal("vtophys: Unimplemented on POWER\n"); 458759Sgblack@eecs.umich.edu} 468759Sgblack@eecs.umich.edu 47