summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Patulea <cat@vv.carleton.ca>2007-11-02 02:50:02 +0000
committerCatalin Patulea <cat@vv.carleton.ca>2007-11-02 02:50:02 +0000
commit01ddb564bff30063dd76f974436b224c119ce89a (patch)
tree26c5b5408691ffeb63d9755164debb1cf20873ad
parent9daf658ef18f1467ca949b7a4d4b6d428c8f4ce4 (diff)
downloadrockbox-01ddb564bff30063dd76f974436b224c119ce89a.tar.gz
rockbox-01ddb564bff30063dd76f974436b224c119ce89a.zip
DM320 has IRAM at 0, so move VIRT_PTR somewhere else (fixes empty menu item text bug)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15400 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index db7d5dc5b2..f54569b462 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -200,6 +200,9 @@ enum { ALARM_START_WPS = 0,
200/* a space which is defined in stubs.c */ 200/* a space which is defined in stubs.c */
201extern unsigned char vp_dummy[VIRT_SIZE]; 201extern unsigned char vp_dummy[VIRT_SIZE];
202#define VIRT_PTR vp_dummy 202#define VIRT_PTR vp_dummy
203#elif CONFIG_CPU==DM320
204/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */
205#define VIRT_PTR ((unsigned char*)0x4000)
203#else 206#else
204/* a location where we won't store strings, 0 is the fastest */ 207/* a location where we won't store strings, 0 is the fastest */
205#define VIRT_PTR ((unsigned char*)0) 208#define VIRT_PTR ((unsigned char*)0)