summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-22 02:47:54 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-22 02:47:54 +0000
commitecf2f747edae9ffc3eb0057958da41915cbfac19 (patch)
tree7aa2c608a86033351ca6eaaa3f1c00488ee59cfe /apps/plugin.h
parent2f2b9eab4b44f35f4aa82cd9c61255debcfa2f03 (diff)
downloadrockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.zip
rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.tar.gz
rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.tar.bz2
rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.tar.xz
Daniel's fix that loads codecs in their own memory space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index dbfdca5..94967c7 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -80,6 +80,14 @@
#endif
+/* These three sizes must match the ones set in plugins/plugin.lds */
+#if MEM >= 32
+#define PLUGIN_BUFFER_SIZE 0xC0000
+#else
+#define PLUGIN_BUFFER_SIZE 0x8000
+#endif
+#define CODEC_BUFFER_SIZE 0x3C000
+
#ifdef SIMULATOR
#define PREFIX(_x_) sim_ ## _x_
#else