diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-27 09:10:45 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-27 09:10:45 +0000 |
commit | 54b2d72a4e5aac578d434b5bafb3395f8e755985 (patch) | |
tree | e55afbb706c8e99a136651cbf809c668b2696186 /apps | |
parent | 9a24892e2e8b6ef9f8a616c630d1bb123ce713e7 (diff) | |
download | rockbox-54b2d72a4e5aac578d434b5bafb3395f8e755985.tar.gz rockbox-54b2d72a4e5aac578d434b5bafb3395f8e755985.zip |
Use MEM_ALIGN_ATTR in test_mem plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28681 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/test_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index df35893542..dca6d8cefa 100644 --- a/apps/plugins/test_mem.c +++ b/apps/plugins/test_mem.c @@ -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 */ |