process.hh (6701:4842482e1bd1) process.hh (7532:3f6413fc37a2)
1/*
2 * Copyright (c) 2007-2008 The Florida State University
3 * Copyright (c) 2009 The University of Edinburgh
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

41class ObjectFile;
42class System;
43
44class PowerLiveProcess : public LiveProcess
45{
46 protected:
47 PowerLiveProcess(LiveProcessParams * params, ObjectFile *objFile);
48
1/*
2 * Copyright (c) 2007-2008 The Florida State University
3 * Copyright (c) 2009 The University of Edinburgh
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

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