15222Sksewell@umich.edu/* 25268Sksewell@umich.edu * Copyright (c) 2007 MIPS Technologies, Inc. 35268Sksewell@umich.edu * All rights reserved. 45222Sksewell@umich.edu * 55268Sksewell@umich.edu * Redistribution and use in source and binary forms, with or without 65268Sksewell@umich.edu * modification, are permitted provided that the following conditions are 75268Sksewell@umich.edu * met: redistributions of source code must retain the above copyright 85268Sksewell@umich.edu * notice, this list of conditions and the following disclaimer; 95268Sksewell@umich.edu * redistributions in binary form must reproduce the above copyright 105268Sksewell@umich.edu * notice, this list of conditions and the following disclaimer in the 115268Sksewell@umich.edu * documentation and/or other materials provided with the distribution; 125268Sksewell@umich.edu * neither the name of the copyright holders nor the names of its 135268Sksewell@umich.edu * contributors may be used to endorse or promote products derived from 145268Sksewell@umich.edu * this software without specific prior written permission. 155222Sksewell@umich.edu * 165268Sksewell@umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 175268Sksewell@umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 185268Sksewell@umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 195268Sksewell@umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 205268Sksewell@umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 215268Sksewell@umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 225268Sksewell@umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 235268Sksewell@umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 245268Sksewell@umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 255268Sksewell@umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 265268Sksewell@umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 275222Sksewell@umich.edu * 285222Sksewell@umich.edu * Authors: Jaidev Patwardhan 295222Sksewell@umich.edu */ 305222Sksewell@umich.edu 315222Sksewell@umich.edu#ifndef __ARCH_MIPS_BARE_IRON_SYSTEM_HH__ 325222Sksewell@umich.edu#define __ARCH_MIPS_BARE_IRON_SYSTEM_HH__ 335222Sksewell@umich.edu 345222Sksewell@umich.edu#include "arch/mips/system.hh" 355222Sksewell@umich.edu#include "params/BareIronMipsSystem.hh" 365222Sksewell@umich.edu 375222Sksewell@umich.edu/** 385222Sksewell@umich.edu * This class contains linux specific system code (Loading, Events). 395222Sksewell@umich.edu * It points to objects that are the system binaries to load and patches them 405222Sksewell@umich.edu * appropriately to work in simulator. 415222Sksewell@umich.edu */ 425222Sksewell@umich.educlass BareIronMipsSystem : public MipsSystem 435222Sksewell@umich.edu{ 445222Sksewell@umich.edu public: 455222Sksewell@umich.edu static const int CommandLineSize = 256; 465222Sksewell@umich.edu 475222Sksewell@umich.edu BareIronMipsSystem(Params *p); 485222Sksewell@umich.edu ~BareIronMipsSystem(); 495222Sksewell@umich.edu}; 505222Sksewell@umich.edu 515222Sksewell@umich.edu#endif // __ARCH_MIPS_BARE_IRON_SYSTEM_HH__ 52