summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index 5b7be4064f..2a229a68ef 100644
--- a/include/system.h
+++ b/include/system.h
@@ -48,6 +48,13 @@ enum system_image_copy_t {
};
/**
+ * Checks if running image is RW or not
+ *
+ * @return True if system is running in a RW image or false otherwise.
+ */
+int system_is_in_rw(void);
+
+/**
* Pre-initializes the module. This occurs before clocks or tasks are
* set up.
*/