system.hh revision 1782
16242Sgblack@eecs.umich.edu/*
27093Sgblack@eecs.umich.edu * Copyright (c) 2004-2005 The Regents of The University of Michigan
37093Sgblack@eecs.umich.edu * All rights reserved.
47093Sgblack@eecs.umich.edu *
57093Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without
67093Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are
77093Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright
87093Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer;
97093Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright
107093Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the
117093Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution;
127093Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its
137093Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from
146242Sgblack@eecs.umich.edu * this software without specific prior written permission.
156242Sgblack@eecs.umich.edu *
166242Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
176242Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
186242Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
196242Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
206242Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
216242Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
226242Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
236242Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
246242Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
256242Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
266242Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
276242Sgblack@eecs.umich.edu */
286242Sgblack@eecs.umich.edu
296242Sgblack@eecs.umich.edu#ifndef __KERN_FREEBSD_FREEBSD_SYSTEM_HH__
306242Sgblack@eecs.umich.edu#define __KERN_FREEBSD_FREEBSD_SYSTEM_HH__
316242Sgblack@eecs.umich.edu
326242Sgblack@eecs.umich.edu#include "sim/host.hh"
336242Sgblack@eecs.umich.edu#include "sim/system.hh"
346242Sgblack@eecs.umich.edu#include "targetarch/isa_traits.hh"
356242Sgblack@eecs.umich.edu
366242Sgblack@eecs.umich.edu
376242Sgblack@eecs.umich.edu/**
386242Sgblack@eecs.umich.edu * This class skips a lengthy function in the FreeBSD kernel.
396242Sgblack@eecs.umich.edu */
406242Sgblack@eecs.umich.educlass FreebsdSystem : public System
416242Sgblack@eecs.umich.edu{
426242Sgblack@eecs.umich.edu  private:
436242Sgblack@eecs.umich.edu
446242Sgblack@eecs.umich.edu    /** PC based event to skip the DELAY call */
456242Sgblack@eecs.umich.edu    SkipFuncEvent *skipDelayEvent;
466242Sgblack@eecs.umich.edu
476242Sgblack@eecs.umich.edu  public:
486242Sgblack@eecs.umich.edu    FreebsdSystem(Params *p);
496242Sgblack@eecs.umich.edu    ~FreebsdSystem();
506242Sgblack@eecs.umich.edu
516242Sgblack@eecs.umich.edu};
526242Sgblack@eecs.umich.edu
536242Sgblack@eecs.umich.edu#endif // __KERN_LINUX_LINUX_SYSTEM_HH__
546242Sgblack@eecs.umich.edu