Deleted Added
sdiff udiff text old ( 6658:f4de76601762 ) new ( 6701:4842482e1bd1 )
full compact
1/*
2 * Copyright (c) 2001-2005 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;

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

320 full += '/';
321
322 return full + filename;
323 }
324
325 std::string getcwd() const { return cwd; }
326
327 virtual void syscall(int64_t callnum, ThreadContext *tc);
328 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int i) = 0;
329 virtual void setSyscallArg(ThreadContext *tc,
330 int i, TheISA::IntReg val) = 0;
331 virtual void setSyscallReturn(ThreadContext *tc,
332 SyscallReturn return_value) = 0;
333
334 virtual SyscallDesc* getDesc(int callnum) = 0;
335
336 // this function is used to create the LiveProcess object, since
337 // we can't tell which subclass of LiveProcess to use until we
338 // open and look at the object file.
339 static LiveProcess *create(LiveProcessParams * params);
340};
341
342
343#endif // !FULL_SYSTEM
344
345#endif // __PROCESS_HH__