summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_hsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sbi/sbi_hsm.h')
-rw-r--r--include/sbi/sbi_hsm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sbi/sbi_hsm.h b/include/sbi/sbi_hsm.h
index c2a728a..1170127 100644
--- a/include/sbi/sbi_hsm.h
+++ b/include/sbi/sbi_hsm.h
@@ -21,8 +21,12 @@ struct sbi_hsm_device {
int (*hart_start)(u32 hartid, ulong saddr);
/**
- * Stop (or power-down) the current hart from running. This call
- * doesn't expect to return if success.
+ * Stop (or power-down) the current hart from running.
+ *
+ * Return SBI_ENOTSUPP if the hart does not support platform-specific
+ * stop actions.
+ *
+ * For successful stop, the call won't return.
*/
int (*hart_stop)(void);