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:
parent
9daf658ef1
commit
01ddb564bf
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue