From 54b2d72a4e5aac578d434b5bafb3395f8e755985 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 27 Nov 2010 09:10:45 +0000 Subject: Use MEM_ALIGN_ATTR in test_mem plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28681 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index df35893..dca6d8c 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 */ -- cgit v1.1