system.hh revision 12429:beefb9f5f551
12379SN/A/*
210298Salexandru.dutu@amd.com * Copyright (c) 2007 MIPS Technologies, Inc.
32379SN/A * All rights reserved.
42379SN/A *
52379SN/A * Redistribution and use in source and binary forms, with or without
62379SN/A * modification, are permitted provided that the following conditions are
72379SN/A * met: redistributions of source code must retain the above copyright
82379SN/A * notice, this list of conditions and the following disclaimer;
92379SN/A * redistributions in binary form must reproduce the above copyright
102379SN/A * notice, this list of conditions and the following disclaimer in the
112379SN/A * documentation and/or other materials provided with the distribution;
122379SN/A * neither the name of the copyright holders nor the names of its
132379SN/A * contributors may be used to endorse or promote products derived from
142379SN/A * this software without specific prior written permission.
152379SN/A *
162379SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
172379SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
182379SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
192379SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
202379SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
212379SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
222379SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
232379SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
242379SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
252379SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
262379SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272379SN/A *
282665Ssaidi@eecs.umich.edu * Authors: Jaidev Patwardhan
292665Ssaidi@eecs.umich.edu */
302379SN/A
312379SN/A#ifndef __ARCH_MIPS_BARE_IRON_SYSTEM_HH__
322379SN/A#define __ARCH_MIPS_BARE_IRON_SYSTEM_HH__
332379SN/A
3410298Salexandru.dutu@amd.com#include "arch/mips/system.hh"
352379SN/A#include "params/BareIronMipsSystem.hh"
362379SN/A
376216Snate@binkert.org/**
386216Snate@binkert.org * This class contains linux specific system code (Loading, Events).
392379SN/A * It points to objects that are the system binaries to load and patches them
402379SN/A * appropriately to work in simulator.
412379SN/A */
422423SN/Aclass BareIronMipsSystem : public MipsSystem
435004Sgblack@eecs.umich.edu{
442809Ssaidi@eecs.umich.edu  public:
456216Snate@binkert.org    static const int CommandLineSize = 256;
466658Snate@binkert.org
472394SN/A    BareIronMipsSystem(Params *p);
485004Sgblack@eecs.umich.edu    ~BareIronMipsSystem();
4910298Salexandru.dutu@amd.com};
5010298Salexandru.dutu@amd.com
5110298Salexandru.dutu@amd.com#endif // __ARCH_MIPS_BARE_IRON_SYSTEM_HH__
522379SN/A