process.hh (6701:4842482e1bd1) process.hh (6811:f130ea67e453)
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;

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

42
43class MipsLiveProcess : public LiveProcess
44{
45 protected:
46 MipsLiveProcess(LiveProcessParams * params, ObjectFile *objFile);
47
48 void startup();
49
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;

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

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