1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Catalin Patulea 2007-11-02 02:50:02 +00:00
parent 9daf658ef1
commit 01ddb564bf

View file

@ -200,6 +200,9 @@ enum { ALARM_START_WPS = 0,
/* a space which is defined in stubs.c */
extern unsigned char vp_dummy[VIRT_SIZE];
#define VIRT_PTR vp_dummy
#elif CONFIG_CPU==DM320
/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */
#define VIRT_PTR ((unsigned char*)0x4000)
#else
/* a location where we won't store strings, 0 is the fastest */
#define VIRT_PTR ((unsigned char*)0)