summaryrefslogtreecommitdiff
path: root/firmware/export/buffer.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-08-31 19:06:04 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-08-31 19:06:04 +0000
commita1cf4ced837327c718061feedf96d512328f5cc8 (patch)
tree2c51950d2c48715aede1e3d4d3e0a1a137885378 /firmware/export/buffer.h
parentb9201e3c6fcfdcb2d1e14f5593fc0ff98af40290 (diff)
downloadrockbox-a1cf4ced837327c718061feedf96d512328f5cc8.tar.gz
rockbox-a1cf4ced837327c718061feedf96d512328f5cc8.zip
Unify 32mb and 64mb ipod video builds - FS#11580
Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/buffer.h')
-rw-r--r--firmware/export/buffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/buffer.h b/firmware/export/buffer.h
index ae8886bffc..f0525edd68 100644
--- a/firmware/export/buffer.h
+++ b/firmware/export/buffer.h
@@ -24,7 +24,12 @@
24#include "config.h" 24#include "config.h"
25/* defined in linker script */ 25/* defined in linker script */
26#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 26#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
27#if defined(IPOD_VIDEO)
28extern unsigned char *audiobufend_lds[];
29unsigned char *audiobufend;
30#else
27extern unsigned char audiobufend[]; 31extern unsigned char audiobufend[];
32#endif
28#else 33#else
29extern unsigned char *audiobufend; 34extern unsigned char *audiobufend;
30#endif 35#endif