summaryrefslogtreecommitdiff
path: root/include/host_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/host_command.h')
-rw-r--r--include/host_command.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h
index acaa2a4f6b..aff1d1b8b5 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -281,4 +281,12 @@ int pd_host_command(int command, int version,
*/
int host_get_vboot_mode(void);
+/*
+ * Sends an emulated sysrq to the host, used by button-based debug mode.
+ * Only implemented on top of MKBP protocol.
+ *
+ * @param key Key to be sent (e.g. 'x')
+ */
+void host_send_sysrq(uint8_t key);
+
#endif /* __CROS_EC_HOST_COMMAND_H */