*
* Authors: Gabe Black
* Ali Saidi
- * Korey Sewell
*/
#ifndef __MIPS_PROCESS_HH__
#include <string>
#include <vector>
+
+#include "mem/page_table.hh"
#include "sim/process.hh"
-class LiveProcess;
class ObjectFile;
-class System;
-class MipsLiveProcess : public LiveProcess
+class MipsProcess : public Process
{
protected:
- MipsLiveProcess(LiveProcessParams * params, ObjectFile *objFile);
+ MipsProcess(ProcessParams * params, ObjectFile *objFile);
- virtual void startup();
+ void initState();
-};
+ template<class IntType>
+ void argsInit(int pageSize);
+ public:
+ RegVal getSyscallArg(ThreadContext *tc, int &i);
+ /// Explicitly import the otherwise hidden getSyscallArg
+ using Process::getSyscallArg;
+ void setSyscallArg(ThreadContext *tc, int i, RegVal val);
+ void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
+};
#endif // __MIPS_PROCESS_HH__