summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index 6d46392e38..57592217ad 100644
--- a/include/system.h
+++ b/include/system.h
@@ -185,6 +185,14 @@ uintptr_t get_program_memory_addr(enum ec_image copy);
*/
int system_jumped_to_this_image(void);
+#ifdef CONFIG_ZTEST
+struct system_jumped_late_mock {
+ int ret_val;
+ int call_count;
+};
+extern struct system_jumped_late_mock system_jumped_late_mock;
+#endif
+
/**
* Return non-zero if late (legacy) sysjump occurred.
*