15222Sksewell@umich.edu/*
25268Sksewell@umich.edu * Copyright (c) 2002-2005 The Regents of The University of Michigan
35254Sksewell@umich.edu * Copyright (c) 2007 MIPS Technologies, Inc.
45254Sksewell@umich.edu * All rights reserved.
55222Sksewell@umich.edu *
65254Sksewell@umich.edu * Redistribution and use in source and binary forms, with or without
75254Sksewell@umich.edu * modification, are permitted provided that the following conditions are
85254Sksewell@umich.edu * met: redistributions of source code must retain the above copyright
95254Sksewell@umich.edu * notice, this list of conditions and the following disclaimer;
105254Sksewell@umich.edu * redistributions in binary form must reproduce the above copyright
115254Sksewell@umich.edu * notice, this list of conditions and the following disclaimer in the
125254Sksewell@umich.edu * documentation and/or other materials provided with the distribution;
135254Sksewell@umich.edu * neither the name of the copyright holders nor the names of its
145254Sksewell@umich.edu * contributors may be used to endorse or promote products derived from
155254Sksewell@umich.edu * this software without specific prior written permission.
165222Sksewell@umich.edu *
175254Sksewell@umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
185254Sksewell@umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
195254Sksewell@umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
205254Sksewell@umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
215254Sksewell@umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
225254Sksewell@umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
235254Sksewell@umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
245254Sksewell@umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
255254Sksewell@umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
265254Sksewell@umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
275254Sksewell@umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
285222Sksewell@umich.edu *
295254Sksewell@umich.edu * Authors: Ali Saidi
305254Sksewell@umich.edu *          Nathan Binkert
315222Sksewell@umich.edu *          Jaidev Patwardhan
325222Sksewell@umich.edu */
335222Sksewell@umich.edu
345222Sksewell@umich.edu#include "arch/mips/system.hh"
3511793Sbrandon.potter@amd.com
365222Sksewell@umich.edu#include "arch/vtophys.hh"
378229Snate@binkert.org#include "base/loader/hex_file.hh"
385222Sksewell@umich.edu#include "base/loader/object_file.hh"
395222Sksewell@umich.edu#include "base/loader/symtab.hh"
405222Sksewell@umich.edu#include "base/trace.hh"
415222Sksewell@umich.edu#include "mem/physical.hh"
425222Sksewell@umich.edu#include "params/MipsSystem.hh"
435222Sksewell@umich.edu#include "sim/byteswap.hh"
445222Sksewell@umich.edu
455222Sksewell@umich.eduusing namespace LittleEndianGuest;
465222Sksewell@umich.edu
476378Sgblack@eecs.umich.eduMipsSystem::MipsSystem(Params *p) : System(p)
485222Sksewell@umich.edu{
495222Sksewell@umich.edu}
505222Sksewell@umich.edu
515222Sksewell@umich.eduMipsSystem::~MipsSystem()
525222Sksewell@umich.edu{
535222Sksewell@umich.edu}
546378Sgblack@eecs.umich.edu
555222Sksewell@umich.eduAddr
565222Sksewell@umich.eduMipsSystem::fixFuncEventAddr(Addr addr)
575222Sksewell@umich.edu{
586378Sgblack@eecs.umich.edu    return addr;
595222Sksewell@umich.edu}
605222Sksewell@umich.edu
615222Sksewell@umich.eduvoid
625222Sksewell@umich.eduMipsSystem::setMipsAccess(Addr access)
636378Sgblack@eecs.umich.edu{}
645222Sksewell@umich.edu
655222Sksewell@umich.edubool
665222Sksewell@umich.eduMipsSystem::breakpoint()
675222Sksewell@umich.edu{
686378Sgblack@eecs.umich.edu    return 0;
695222Sksewell@umich.edu}
705222Sksewell@umich.edu
715222Sksewell@umich.eduMipsSystem *
725222Sksewell@umich.eduMipsSystemParams::create()
735222Sksewell@umich.edu{
745222Sksewell@umich.edu    return new MipsSystem(this);
755222Sksewell@umich.edu}
765222Sksewell@umich.edu
77