1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Wincent Balin 2010-06-05 15:00:53 +00:00
parent f7575cb3a5
commit 988b32383e

View file

@ -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 */