process.hh (12431:000549e1f497) process.hh (13583:f7482392b097)
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

104 void initState();
105
106 public:
107
108 void argsInit(int intSize, int pageSize);
109
110 void flushWindows(ThreadContext *tc);
111
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

104 void initState();
105
106 public:
107
108 void argsInit(int intSize, int pageSize);
109
110 void flushWindows(ThreadContext *tc);
111
112 SparcISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
112 RegVal getSyscallArg(ThreadContext *tc, int &i);
113 /// Explicitly import the otherwise hidden getSyscallArg
114 using Process::getSyscallArg;
115
113 /// Explicitly import the otherwise hidden getSyscallArg
114 using Process::getSyscallArg;
115
116 void setSyscallArg(ThreadContext *tc, int i, SparcISA::IntReg val);
116 void setSyscallArg(ThreadContext *tc, int i, RegVal val);
117};
118
119class Sparc64Process : public SparcProcess
120{
121 protected:
122
123 Sparc64Process(ProcessParams * params, ObjectFile *objFile)
124 : SparcProcess(params, objFile, 2047)

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

148 void initState();
149
150 public:
151
152 void argsInit(int intSize, int pageSize);
153
154 void flushWindows(ThreadContext *tc);
155
117};
118
119class Sparc64Process : public SparcProcess
120{
121 protected:
122
123 Sparc64Process(ProcessParams * params, ObjectFile *objFile)
124 : SparcProcess(params, objFile, 2047)

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

148 void initState();
149
150 public:
151
152 void argsInit(int intSize, int pageSize);
153
154 void flushWindows(ThreadContext *tc);
155
156 SparcISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
156 RegVal getSyscallArg(ThreadContext *tc, int &i);
157 /// Explicitly import the otherwise hidden getSyscallArg
158 using Process::getSyscallArg;
159
157 /// Explicitly import the otherwise hidden getSyscallArg
158 using Process::getSyscallArg;
159
160 void setSyscallArg(ThreadContext *tc, int i, SparcISA::IntReg val);
160 void setSyscallArg(ThreadContext *tc, int i, RegVal val);
161};
162
163#endif // __SPARC_PROCESS_HH__
161};
162
163#endif // __SPARC_PROCESS_HH__