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:
parent
9a24892e2e
commit
54b2d72a4e
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue