diff options
Diffstat (limited to 'sim/process.hh')
-rw-r--r-- | sim/process.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/process.hh b/sim/process.hh index 43fafd9d7..71b7d02b3 100644 --- a/sim/process.hh +++ b/sim/process.hh @@ -48,8 +48,12 @@ class ExecContext; class FunctionalMemory; +class SyscallDesc; class Process : public SimObject { + protected: + typedef TheISA::RegFile RegFile; + typedef TheISA::MachInst MachInst; public: // have we initialized an execution context from this process? If @@ -200,6 +204,11 @@ class LiveProcess : public Process std::string executable, std::vector<std::string> &argv, std::vector<std::string> &envp); + + virtual void syscall(ExecContext *xc); + + virtual SyscallDesc* getDesc(int callnum) { panic("Must be implemented."); } + }; |