process.hh (7087:fb8d5786ff30) | process.hh (7532:3f6413fc37a2) |
---|---|
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 --- 85 unchanged lines hidden (view full) --- 94 Addr size; 95 Addr vtimeOffset; 96 Addr vgettimeofdayOffset; 97 }; 98 VSyscallPage vsyscallPage; 99 100 public: 101 void argsInit(int intSize, int pageSize); | 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 --- 85 unchanged lines hidden (view full) --- 94 Addr size; 95 Addr vtimeOffset; 96 Addr vgettimeofdayOffset; 97 }; 98 VSyscallPage vsyscallPage; 99 100 public: 101 void argsInit(int intSize, int pageSize); |
102 void startup(); | 102 void initState(); |
103 104 X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i); 105 void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val); 106 }; 107 108 class I386LiveProcess : public X86LiveProcess 109 { 110 protected: --- 7 unchanged lines hidden (view full) --- 118 Addr size; 119 Addr vsyscallOffset; 120 Addr vsysexitOffset; 121 }; 122 VSyscallPage vsyscallPage; 123 124 public: 125 void argsInit(int intSize, int pageSize); | 103 104 X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i); 105 void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val); 106 }; 107 108 class I386LiveProcess : public X86LiveProcess 109 { 110 protected: --- 7 unchanged lines hidden (view full) --- 118 Addr size; 119 Addr vsyscallOffset; 120 Addr vsysexitOffset; 121 }; 122 VSyscallPage vsyscallPage; 123 124 public: 125 void argsInit(int intSize, int pageSize); |
126 void startup(); | 126 void initState(); |
127 128 void syscall(int64_t callnum, ThreadContext *tc); 129 X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i); 130 X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width); 131 void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val); 132 }; 133} 134 135#endif // __ARCH_X86_PROCESS_HH__ | 127 128 void syscall(int64_t callnum, ThreadContext *tc); 129 X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i); 130 X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width); 131 void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val); 132 }; 133} 134 135#endif // __ARCH_X86_PROCESS_HH__ |