summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_hsm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sbi/sbi_hsm.h b/include/sbi/sbi_hsm.h
index c16e8718..6da8ceea 100644
--- a/include/sbi/sbi_hsm.h
+++ b/include/sbi/sbi_hsm.h
@@ -37,6 +37,14 @@ struct sbi_hsm_device {
* specified resume address
*/
int (*hart_suspend)(u32 suspend_type, ulong raddr);
+
+ /**
+ * Perform platform-specific actions to resume from a suspended state.
+ *
+ * This includes restoring any platform state that was lost during
+ * non-retentive suspend.
+ */
+ void (*hart_resume)(void);
};
struct sbi_domain;