diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-24 03:47:09 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-24 03:47:09 +0000 |
commit | b0befadad1d9ec691ba647b948422e66a43f3674 (patch) | |
tree | 92f5fe47e0826daab66d2e321c96412841392058 /apps/plugin.h | |
parent | ef8413eb4fd7fead45d33b3ecae003210978b85d (diff) | |
download | rockbox-b0befadad1d9ec691ba647b948422e66a43f3674.tar.gz rockbox-b0befadad1d9ec691ba647b948422e66a43f3674.zip |
Include divide-by-zero handling within plugins and codecs for ARM processors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19834 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 992012be68..472daeafe4 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -126,7 +126,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
126 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 126 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
127 | 127 | ||
128 | /* increase this every time the api struct changes */ | 128 | /* increase this every time the api struct changes */ |
129 | #define PLUGIN_API_VERSION 137 | 129 | #define PLUGIN_API_VERSION 138 |
130 | 130 | ||
131 | /* update this to latest version if a change to the api struct breaks | 131 | /* update this to latest version if a change to the api struct breaks |
132 | backwards compatibility (and please take the opportunity to sort in any | 132 | backwards compatibility (and please take the opportunity to sort in any |
@@ -782,6 +782,9 @@ struct plugin_api { | |||
782 | const char *appsversion; | 782 | const char *appsversion; |
783 | /* new stuff at the end, sort into place next time | 783 | /* new stuff at the end, sort into place next time |
784 | the API gets incompatible */ | 784 | the API gets incompatible */ |
785 | #ifdef CPU_ARM | ||
786 | void (*__div0)(void); | ||
787 | #endif | ||
785 | }; | 788 | }; |
786 | 789 | ||
787 | /* plugin header */ | 790 | /* plugin header */ |