process.hh revision 10494:ffe6ab7141ab
18706Sandreas.hansson@arm.com/*
28706Sandreas.hansson@arm.com * Copyright (c) 2007 The Hewlett-Packard Development Company
38706Sandreas.hansson@arm.com * All rights reserved.
48706Sandreas.hansson@arm.com *
58706Sandreas.hansson@arm.com * The license below extends only to copyright in the software and shall
68706Sandreas.hansson@arm.com * not be construed as granting a license to any other intellectual
78706Sandreas.hansson@arm.com * property including but not limited to intellectual property relating
88706Sandreas.hansson@arm.com * to a hardware implementation of the functionality of the software
98706Sandreas.hansson@arm.com * licensed hereunder.  You may use the software subject to the license
108706Sandreas.hansson@arm.com * terms below provided that you ensure that this notice is replicated
118706Sandreas.hansson@arm.com * unmodified and in its entirety in all distributions of the software,
128706Sandreas.hansson@arm.com * modified or unmodified, in source code or in binary form.
135369Ssaidi@eecs.umich.edu *
143005Sstever@eecs.umich.edu * Redistribution and use in source and binary forms, with or without
153005Sstever@eecs.umich.edu * modification, are permitted provided that the following conditions are
163005Sstever@eecs.umich.edu * met: redistributions of source code must retain the above copyright
173005Sstever@eecs.umich.edu * notice, this list of conditions and the following disclaimer;
183005Sstever@eecs.umich.edu * redistributions in binary form must reproduce the above copyright
193005Sstever@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the
203005Sstever@eecs.umich.edu * documentation and/or other materials provided with the distribution;
213005Sstever@eecs.umich.edu * neither the name of the copyright holders nor the names of its
223005Sstever@eecs.umich.edu * contributors may be used to endorse or promote products derived from
233005Sstever@eecs.umich.edu * this software without specific prior written permission.
243005Sstever@eecs.umich.edu *
253005Sstever@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
263005Sstever@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
273005Sstever@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
283005Sstever@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
293005Sstever@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
303005Sstever@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
313005Sstever@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
323005Sstever@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
333005Sstever@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
343005Sstever@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
353005Sstever@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
363005Sstever@eecs.umich.edu *
373005Sstever@eecs.umich.edu * Authors: Gabe Black
383005Sstever@eecs.umich.edu */
393005Sstever@eecs.umich.edu
403005Sstever@eecs.umich.edu#ifndef __X86_LINUX_PROCESS_HH__
412710SN/A#define __X86_LINUX_PROCESS_HH__
422710SN/A
433005Sstever@eecs.umich.edu#include "arch/x86/linux/linux.hh"
442889SN/A#include "arch/x86/process.hh"
456654Snate@binkert.org#include "sim/process.hh"
466654Snate@binkert.org
476654Snate@binkert.orgnamespace X86ISA {
482667SN/A
496654Snate@binkert.orgclass X86_64LinuxProcess : public X86_64LiveProcess
506654Snate@binkert.org{
516654Snate@binkert.org  public:
525457Ssaidi@eecs.umich.edu    /// Constructor.
536654Snate@binkert.org    X86_64LinuxProcess(LiveProcessParams * params, ObjectFile *objFile);
548169SLisa.Hsu@amd.com};
559100SBrad.Beckmann@amd.com
568169SLisa.Hsu@amd.comclass I386LinuxProcess : public I386LiveProcess
578920Snilay@cs.wisc.edu{
588169SLisa.Hsu@amd.com  public:
593395Shsul@eecs.umich.edu    /// Constructor.
606981SLisa.Hsu@amd.com    I386LinuxProcess(LiveProcessParams * params, ObjectFile *objFile);
613448Shsul@eecs.umich.edu};
625369Ssaidi@eecs.umich.edu
633394Shsul@eecs.umich.edu} // namespace X86ISA
649197Snilay@cs.wisc.edu#endif // __X86_LINUX_PROCESS_HH__
659197Snilay@cs.wisc.edu