summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-15 14:00:37 +0000
committerDave Chapman <dave@dchapman.com>2005-02-15 14:00:37 +0000
commite452383359dc25750b5bb90318fcf4269c4ec2d2 (patch)
tree945514f895bb55feb90e64b9425e8a04a9b6578b /apps/plugins
parenta11bb63d1ed4715fad571cb388cc2b104edc52bb (diff)
downloadrockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.tar.gz
rockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.zip
Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/plugin.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index bd49afc0d0..6737803c1f 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -20,7 +20,11 @@ OUTPUT_FORMAT(elf32-sh)
20#define DRAMORIG 0x09000000 + STUBOFFSET 20#define DRAMORIG 0x09000000 + STUBOFFSET
21#endif 21#endif
22 22
23#if MEMORYSIZE >= 32
24#define PLUGIN_LENGTH 0xC0000
25#else
23#define PLUGIN_LENGTH 0x8000 26#define PLUGIN_LENGTH 0x8000
27#endif
24#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH 28#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH
25#define PLUGIN_ORIGIN (DRAMORIG + (DRAMSIZE)) 29#define PLUGIN_ORIGIN (DRAMORIG + (DRAMSIZE))
26 30