diff options
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index 4cad8499a6..3033be2736 100644 --- a/include/system.h +++ b/include/system.h @@ -504,6 +504,14 @@ uintptr_t system_get_fw_reset_vector(uintptr_t base); */ int system_is_reboot_warm(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 send_sysrq(uint8_t key); + #ifdef CONFIG_EXTENDED_VERSION_INFO void system_print_extended_version_info(void); #else @@ -511,4 +519,5 @@ static inline void system_print_extended_version_info(void) { } #endif + #endif /* __CROS_EC_SYSTEM_H */ |