diff options
Diffstat (limited to 'cpu/exec_context.hh')
-rw-r--r-- | cpu/exec_context.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpu/exec_context.hh b/cpu/exec_context.hh index 8f93875a1..2fd49b166 100644 --- a/cpu/exec_context.hh +++ b/cpu/exec_context.hh @@ -233,6 +233,9 @@ class ExecContext virtual void setFuncExeInst(Counter new_val) = 0; #endif + + virtual void changeRegFileContext(RegFile::ContextParam param, + RegFile::ContextVal val) = 0; }; template <class XC> @@ -422,6 +425,12 @@ class ProxyExecContext : public ExecContext void setFuncExeInst(Counter new_val) { return actualXC->setFuncExeInst(new_val); } #endif + + void changeRegFileContext(RegFile::ContextParam param, + RegFile::ContextVal val) + { + actualXC->changeRegFileContext(param, val); + } }; #endif |