summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 51421fffb4..0c2d050a73 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -110,7 +110,7 @@
110#define PLUGIN_MAGIC 0x526F634B /* RocK */ 110#define PLUGIN_MAGIC 0x526F634B /* RocK */
111 111
112/* increase this every time the api struct changes */ 112/* increase this every time the api struct changes */
113#define PLUGIN_API_VERSION 52 113#define PLUGIN_API_VERSION 53
114 114
115/* update this to latest version if a change to the api struct breaks 115/* update this to latest version if a change to the api struct breaks
116 backwards compatibility (and please take the opportunity to sort in any 116 backwards compatibility (and please take the opportunity to sort in any
@@ -600,6 +600,12 @@ struct plugin_api {
600 bool (*detect_flashed_ramimage)(void); 600 bool (*detect_flashed_ramimage)(void);
601 bool (*detect_flashed_romimage)(void); 601 bool (*detect_flashed_romimage)(void);
602#endif 602#endif
603
604#if NUM_CORES > 1
605 void (*spinlock_init)(struct mutex *m);
606 void (*spinlock_lock)(struct mutex *m);
607 void (*spinlock_unlock)(struct mutex *m);
608#endif
603}; 609};
604 610
605/* plugin header */ 611/* plugin header */