process.hh (8229:78bf55f23338) process.hh (10494:ffe6ab7141ab)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 34 unchanged lines hidden (view full) ---

43#include "arch/x86/linux/linux.hh"
44#include "arch/x86/process.hh"
45#include "sim/process.hh"
46
47namespace X86ISA {
48
49class X86_64LinuxProcess : public X86_64LiveProcess
50{
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 34 unchanged lines hidden (view full) ---

43#include "arch/x86/linux/linux.hh"
44#include "arch/x86/process.hh"
45#include "sim/process.hh"
46
47namespace X86ISA {
48
49class X86_64LinuxProcess : public X86_64LiveProcess
50{
51 protected:
52 /// Array of syscall descriptors, indexed by call number.
53 static SyscallDesc syscallDescs[];
54 static const int numSyscalls;
55
56 public:
57 /// Constructor.
58 X86_64LinuxProcess(LiveProcessParams * params, ObjectFile *objFile);
59};
60
61class I386LinuxProcess : public I386LiveProcess
62{
51 public:
52 /// Constructor.
53 X86_64LinuxProcess(LiveProcessParams * params, ObjectFile *objFile);
54};
55
56class I386LinuxProcess : public I386LiveProcess
57{
63 protected:
64 /// Array of syscall descriptors, indexed by call number.
65 static SyscallDesc syscallDescs[];
66 static const int numSyscalls;
67
68 public:
69 /// Constructor.
70 I386LinuxProcess(LiveProcessParams * params, ObjectFile *objFile);
71};
72
73} // namespace X86ISA
74#endif // __X86_LINUX_PROCESS_HH__
58 public:
59 /// Constructor.
60 I386LinuxProcess(LiveProcessParams * params, ObjectFile *objFile);
61};
62
63} // namespace X86ISA
64#endif // __X86_LINUX_PROCESS_HH__