1
0
Fork 0
forked from len0rd/rockbox

Use MEM_ALIGN_ATTR in test_mem plugin.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28681 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-11-27 09:10:45 +00:00
parent 9a24892e2e
commit 54b2d72a4e

View file

@ -30,11 +30,11 @@
#endif
#define LOOP_REPEAT_DRAM 256
static volatile int buf_dram[BUF_SIZE];
static volatile int buf_dram[BUF_SIZE] MEM_ALIGN_ATTR;
#if defined(PLUGIN_USE_IRAM)
#define LOOP_REPEAT_IRAM 1024
static volatile int buf_iram[BUF_SIZE] IBSS_ATTR;
static volatile int buf_iram[BUF_SIZE] IBSS_ATTR MEM_ALIGN_ATTR;
#endif
/* (Byte per loop * loops)>>20 * ticks per s * 10 / ticks = dMB per s */