diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-01 15:40:06 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-01 15:40:06 -0400 |
commit | 8671d927d862cdbdf851e74cd07d131679faa7ed (patch) | |
tree | 7799eb5c4466129d2a9353278054424f1c08c8ae /cpu/checker/exec_context.hh | |
parent | 51ed3c3fd9f91a686bf87256c966991e6c57c1ff (diff) | |
download | gem5-8671d927d862cdbdf851e74cd07d131679faa7ed.tar.xz |
Add in comments for checker.
--HG--
extra : convert_revision : 8921907af0f18313bc66ad2a584fc182526fe1a2
Diffstat (limited to 'cpu/checker/exec_context.hh')
-rw-r--r-- | cpu/checker/exec_context.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/checker/exec_context.hh b/cpu/checker/exec_context.hh index 38784867d..9f9fb0fd6 100644 --- a/cpu/checker/exec_context.hh +++ b/cpu/checker/exec_context.hh @@ -38,6 +38,13 @@ namespace Kernel { class Statistics; }; +/** + * Derived ExecContext class for use with the Checker. The template + * parameter is the ExecContext class used by the specific CPU being + * verified. This CheckerExecContext is then used by the main CPU in + * place of its usual ExecContext class. It handles updating the + * checker's state any time state is updated through the ExecContext. + */ template <class XC> class CheckerExecContext : public ExecContext { |