summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox
diff options
context:
space:
mode:
authorWincent Balin <wincent@rockbox.org>2010-06-05 15:00:53 +0000
committerWincent Balin <wincent@rockbox.org>2010-06-05 15:00:53 +0000
commit988b32383e16d6e0ac8a4f05b69b418ee287fcb7 (patch)
tree986e9225c4d44d1f43d186c4d9e32bd81674809f /apps/plugins/pdbox
parentf7575cb3a55172dfd03b97d6350bde8b1bdf3eca (diff)
downloadrockbox-988b32383e16d6e0ac8a4f05b69b418ee287fcb7.tar.gz
rockbox-988b32383e16d6e0ac8a4f05b69b418ee287fcb7.tar.bz2
rockbox-988b32383e16d6e0ac8a4f05b69b418ee287fcb7.zip
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
Diffstat (limited to 'apps/plugins/pdbox')
-rw-r--r--apps/plugins/pdbox/pdbox.c12
1 files 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 */