process.hh (10037:5cac77888310) process.hh (11851:824055fe6b30)
1/*
2* Copyright (c) 2011-2012 ARM Limited
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

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

60
61 SyscallDesc *getDesc(int offset) const;
62 };
63
64 std::vector<SyscallTable> syscallTables;
65};
66
67/// A process with emulated Arm/Linux syscalls.
1/*
2* Copyright (c) 2011-2012 ARM Limited
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

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

60
61 SyscallDesc *getDesc(int offset) const;
62 };
63
64 std::vector<SyscallTable> syscallTables;
65};
66
67/// A process with emulated Arm/Linux syscalls.
68class ArmLinuxProcess32 : public ArmLiveProcess32, public ArmLinuxProcessBits
68class ArmLinuxProcess32 : public ArmProcess32, public ArmLinuxProcessBits
69{
70 public:
69{
70 public:
71 ArmLinuxProcess32(LiveProcessParams * params, ObjectFile *objFile,
71 ArmLinuxProcess32(ProcessParams * params, ObjectFile *objFile,
72 ObjectFile::Arch _arch);
73
74 void initState();
75
76 /// Explicitly import the otherwise hidden getSyscallArg
72 ObjectFile::Arch _arch);
73
74 void initState();
75
76 /// Explicitly import the otherwise hidden getSyscallArg
77 using ArmLiveProcess::getSyscallArg;
77 using ArmProcess::getSyscallArg;
78
79 /// A page to hold "kernel" provided functions. The name might be wrong.
80 static const Addr commPage;
81
82 SyscallDesc* getDesc(int callnum);
83};
84
85/// A process with emulated Arm/Linux syscalls.
78
79 /// A page to hold "kernel" provided functions. The name might be wrong.
80 static const Addr commPage;
81
82 SyscallDesc* getDesc(int callnum);
83};
84
85/// A process with emulated Arm/Linux syscalls.
86class ArmLinuxProcess64 : public ArmLiveProcess64, public ArmLinuxProcessBits
86class ArmLinuxProcess64 : public ArmProcess64, public ArmLinuxProcessBits
87{
88 public:
87{
88 public:
89 ArmLinuxProcess64(LiveProcessParams * params, ObjectFile *objFile,
89 ArmLinuxProcess64(ProcessParams * params, ObjectFile *objFile,
90 ObjectFile::Arch _arch);
91
92 void initState();
93 SyscallDesc* getDesc(int callnum);
94};
95
96#endif // __ARM_LINUX_PROCESS_HH__
90 ObjectFile::Arch _arch);
91
92 void initState();
93 SyscallDesc* getDesc(int callnum);
94};
95
96#endif // __ARM_LINUX_PROCESS_HH__