system.hh revision 6757
12567SN/A/* 22567SN/A * Copyright (c) 2002-2005 The Regents of The University of Michigan 32567SN/A * All rights reserved. 42567SN/A * 52567SN/A * Redistribution and use in source and binary forms, with or without 62567SN/A * modification, are permitted provided that the following conditions are 72567SN/A * met: redistributions of source code must retain the above copyright 82567SN/A * notice, this list of conditions and the following disclaimer; 92567SN/A * redistributions in binary form must reproduce the above copyright 102567SN/A * notice, this list of conditions and the following disclaimer in the 112567SN/A * documentation and/or other materials provided with the distribution; 122567SN/A * neither the name of the copyright holders nor the names of its 132567SN/A * contributors may be used to endorse or promote products derived from 142567SN/A * this software without specific prior written permission. 152567SN/A * 162567SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 172567SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 182567SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 192567SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 202567SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 212567SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 222567SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 232567SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 242567SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 252567SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 262567SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 272665SN/A * 282665SN/A * Authors: Ali Saidi 292567SN/A */ 302567SN/A 316757SAli.Saidi@ARM.com#ifndef __ARCH_ARM_SYSTEM_HH__ 326757SAli.Saidi@ARM.com#define __ARCH_ARM_SYSTEM_HH__ 332567SN/A 342567SN/A#include <string> 352567SN/A#include <vector> 362567SN/A 376757SAli.Saidi@ARM.com#include "params/ArmSystem.hh" 382567SN/A#include "sim/sim_object.hh" 392567SN/A#include "sim/system.hh" 402567SN/A 416757SAli.Saidi@ARM.comclass ArmSystem : public System 422567SN/A{ 432567SN/A public: 446757SAli.Saidi@ARM.com typedef ArmSystemParams Params; 456757SAli.Saidi@ARM.com ArmSystem(Params *p); 466757SAli.Saidi@ARM.com ~ArmSystem(); 476757SAli.Saidi@ARM.com 483553SN/A virtual Addr fixFuncEventAddr(Addr addr) 493553SN/A { 503553SN/A //XXX This may eventually have to do something useful. 513553SN/A return addr; 523553SN/A } 532567SN/A}; 542567SN/A 552567SN/A#endif 562567SN/A 57