process.hh (6811:f130ea67e453) process.hh (7532:3f6413fc37a2)
1/*
2 * Copyright (c) 2006 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;

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

40class ObjectFile;
41class System;
42
43class MipsLiveProcess : public LiveProcess
44{
45 protected:
46 MipsLiveProcess(LiveProcessParams * params, ObjectFile *objFile);
47
1/*
2 * Copyright (c) 2006 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;

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

40class ObjectFile;
41class System;
42
43class MipsLiveProcess : public LiveProcess
44{
45 protected:
46 MipsLiveProcess(LiveProcessParams * params, ObjectFile *objFile);
47
48 void startup();
48 void initState();
49
50 template<class IntType>
51 void argsInit(int pageSize);
52
53 public:
54 MipsISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
55 void setSyscallArg(ThreadContext *tc, int i, MipsISA::IntReg val);
56 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
57};
58
59
60#endif // __MIPS_PROCESS_HH__
49
50 template<class IntType>
51 void argsInit(int pageSize);
52
53 public:
54 MipsISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
55 void setSyscallArg(ThreadContext *tc, int i, MipsISA::IntReg val);
56 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
57};
58
59
60#endif // __MIPS_PROCESS_HH__