process.hh revision 11851:824055fe6b30
17584SAli.Saidi@arm.com/* 27584SAli.Saidi@arm.com * Copyright (c) 2007 The Hewlett-Packard Development Company 37584SAli.Saidi@arm.com * All rights reserved. 47584SAli.Saidi@arm.com * 57584SAli.Saidi@arm.com * The license below extends only to copyright in the software and shall 67584SAli.Saidi@arm.com * not be construed as granting a license to any other intellectual 77584SAli.Saidi@arm.com * property including but not limited to intellectual property relating 87584SAli.Saidi@arm.com * to a hardware implementation of the functionality of the software 97584SAli.Saidi@arm.com * licensed hereunder. You may use the software subject to the license 107584SAli.Saidi@arm.com * terms below provided that you ensure that this notice is replicated 117584SAli.Saidi@arm.com * unmodified and in its entirety in all distributions of the software, 127584SAli.Saidi@arm.com * modified or unmodified, in source code or in binary form. 137584SAli.Saidi@arm.com * 147584SAli.Saidi@arm.com * Redistribution and use in source and binary forms, with or without 157584SAli.Saidi@arm.com * modification, are permitted provided that the following conditions are 167584SAli.Saidi@arm.com * met: redistributions of source code must retain the above copyright 177584SAli.Saidi@arm.com * notice, this list of conditions and the following disclaimer; 187584SAli.Saidi@arm.com * redistributions in binary form must reproduce the above copyright 197584SAli.Saidi@arm.com * notice, this list of conditions and the following disclaimer in the 207584SAli.Saidi@arm.com * documentation and/or other materials provided with the distribution; 217584SAli.Saidi@arm.com * neither the name of the copyright holders nor the names of its 227584SAli.Saidi@arm.com * contributors may be used to endorse or promote products derived from 237584SAli.Saidi@arm.com * this software without specific prior written permission. 247584SAli.Saidi@arm.com * 257584SAli.Saidi@arm.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 267584SAli.Saidi@arm.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 277584SAli.Saidi@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 287584SAli.Saidi@arm.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 297584SAli.Saidi@arm.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 307584SAli.Saidi@arm.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 317584SAli.Saidi@arm.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 327584SAli.Saidi@arm.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 337584SAli.Saidi@arm.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 347584SAli.Saidi@arm.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 357584SAli.Saidi@arm.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 367584SAli.Saidi@arm.com * 377584SAli.Saidi@arm.com * Authors: Gabe Black 387584SAli.Saidi@arm.com */ 397584SAli.Saidi@arm.com 407584SAli.Saidi@arm.com#ifndef __X86_LINUX_PROCESS_HH__ 417584SAli.Saidi@arm.com#define __X86_LINUX_PROCESS_HH__ 427584SAli.Saidi@arm.com 437950SAli.Saidi@ARM.com#include "arch/x86/linux/linux.hh" 447584SAli.Saidi@arm.com#include "arch/x86/process.hh" 457584SAli.Saidi@arm.com#include "sim/process.hh" 467584SAli.Saidi@arm.com 477584SAli.Saidi@arm.comnamespace X86ISA { 487584SAli.Saidi@arm.com 497584SAli.Saidi@arm.comclass X86_64LinuxProcess : public X86_64Process 507584SAli.Saidi@arm.com{ 517584SAli.Saidi@arm.com public: 527584SAli.Saidi@arm.com /// Constructor. 537584SAli.Saidi@arm.com X86_64LinuxProcess(ProcessParams * params, ObjectFile *objFile); 547584SAli.Saidi@arm.com}; 557584SAli.Saidi@arm.com 567584SAli.Saidi@arm.comclass I386LinuxProcess : public I386Process 577584SAli.Saidi@arm.com{ 587584SAli.Saidi@arm.com public: 597584SAli.Saidi@arm.com /// Constructor. 607584SAli.Saidi@arm.com I386LinuxProcess(ProcessParams * params, ObjectFile *objFile); 617584SAli.Saidi@arm.com}; 627584SAli.Saidi@arm.com 637584SAli.Saidi@arm.com} // namespace X86ISA 647584SAli.Saidi@arm.com#endif // __X86_LINUX_PROCESS_HH__ 657584SAli.Saidi@arm.com