process.hh (8177:a983c62ef6d0) process.hh (8216:70e61aa65759)
1/*
2 * Copyright (c) 2007-2008 The Florida State University
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 ArmLiveProcess : public LiveProcess
44{
45 protected:
46 ObjectFile::Arch arch;
47 ArmLiveProcess(LiveProcessParams * params, ObjectFile *objFile,
48 ObjectFile::Arch _arch);
49
1/*
2 * Copyright (c) 2007-2008 The Florida State University
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 ArmLiveProcess : public LiveProcess
44{
45 protected:
46 ObjectFile::Arch arch;
47 ArmLiveProcess(LiveProcessParams * params, ObjectFile *objFile,
48 ObjectFile::Arch _arch);
49
50 void startup();
50 void initState();
51
52 public:
53 void argsInit(int intSize, int pageSize);
54
55 uint64_t getSyscallArg(ThreadContext *tc, int &i, int width);
56 ArmISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
57 void setSyscallArg(ThreadContext *tc, int i, ArmISA::IntReg val);
58 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
59};
60
61#endif // __ARM_PROCESS_HH__
62
51
52 public:
53 void argsInit(int intSize, int pageSize);
54
55 uint64_t getSyscallArg(ThreadContext *tc, int &i, int width);
56 ArmISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
57 void setSyscallArg(ThreadContext *tc, int i, ArmISA::IntReg val);
58 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
59};
60
61#endif // __ARM_PROCESS_HH__
62