aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r--sim/common/sim-base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index 12e1a25..ef5f1ce 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -128,6 +128,12 @@ typedef struct {
/* List of installed module `uninstall' handlers. */
MODULE_UNINSTALL_LIST *uninstall_list;
#define STATE_UNINSTALL_LIST(sd) ((sd)->base.uninstall_list)
+ /* List of installed module `resume' handlers. */
+ MODULE_RESUME_LIST *resume_list;
+#define STATE_RESUME_LIST(sd) ((sd)->base.resume_list)
+ /* List of installed module `suspend' handlers. */
+ MODULE_SUSPEND_LIST *suspend_list;
+#define STATE_SUSPEND_LIST(sd) ((sd)->base.suspend_list)
/* ??? This might be more appropriate in sim_cpu. */
/* Machine tables for this cpu. See sim-model.h. */