From 988b32383e16d6e0ac8a4f05b69b418ee287fcb7 Mon Sep 17 00:00:00 2001 From: Wincent Balin Date: Sat, 5 Jun 2010 15:00:53 +0000 Subject: pdbox: Moved all global variables in pdbox.c to IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26581 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pdbox/pdbox.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/plugins/pdbox/pdbox.c b/apps/plugins/pdbox/pdbox.c index a0f5926419..c5aa7aaf74 100644 --- a/apps/plugins/pdbox/pdbox.c +++ b/apps/plugins/pdbox/pdbox.c @@ -33,7 +33,7 @@ PLUGIN_IRAM_DECLARE char* filename; /* Running time. */ -uint64_t runningtime = 0; +uint64_t runningtime IBSS_ATTR = 0; /* Variables for Pure Data. */ int sys_verbose; @@ -57,19 +57,19 @@ rates we expect to see: 32000, 44100, 48000, 88200, 96000. */ /* Quit flag. */ -bool quit = false; +bool quit IBSS_ATTR = false; /* Stack sizes for threads. */ #define CORESTACKSIZE (1 * 1024 * 1024) #define GUISTACKSIZE (512 * 1024) /* Thread stacks. */ -void* core_stack; -void* gui_stack; +void* core_stack IBSS_ATTR; +void* gui_stack IBSS_ATTR; /* Thread IDs. */ -unsigned int core_thread_id; -unsigned int gui_thread_id; +unsigned int core_thread_id IBSS_ATTR; +unsigned int gui_thread_id IBSS_ATTR; /* GUI thread */ -- cgit v1.2.3