diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/backlight.c | 2 | ||||
-rw-r--r-- | firmware/common/dircache.c | 2 | ||||
-rw-r--r-- | firmware/drivers/ata_mmc.c | 4 | ||||
-rw-r--r-- | firmware/drivers/button.c | 2 | ||||
-rw-r--r-- | firmware/drivers/i2c.c | 2 | ||||
-rw-r--r-- | firmware/scroll_engine.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/ata-sd-pp.c | 2 | ||||
-rw-r--r-- | firmware/test/i2c/main.c | 2 | ||||
-rw-r--r-- | firmware/test/kernel/main.c | 2 | ||||
-rw-r--r-- | firmware/usb.c | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index 65d535b072..d24fc1342f 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c | |||
@@ -95,7 +95,7 @@ enum { | |||
95 | static void backlight_thread(void); | 95 | static void backlight_thread(void); |
96 | static long backlight_stack[DEFAULT_STACK_SIZE/sizeof(long)]; | 96 | static long backlight_stack[DEFAULT_STACK_SIZE/sizeof(long)]; |
97 | static const char backlight_thread_name[] = "backlight"; | 97 | static const char backlight_thread_name[] = "backlight"; |
98 | static struct event_queue backlight_queue; | 98 | static struct event_queue backlight_queue SHAREDBSS_ATTR; |
99 | #ifdef BACKLIGHT_DRIVER_CLOSE | 99 | #ifdef BACKLIGHT_DRIVER_CLOSE |
100 | static unsigned int backlight_thread_id = 0; | 100 | static unsigned int backlight_thread_id = 0; |
101 | #endif | 101 | #endif |
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c index 1e0e0223af..45726a3237 100644 --- a/firmware/common/dircache.c +++ b/firmware/common/dircache.c | |||
@@ -74,7 +74,7 @@ static unsigned long reserve_used = 0; | |||
74 | static unsigned int cache_build_ticks = 0; | 74 | static unsigned int cache_build_ticks = 0; |
75 | static unsigned long appflags = 0; | 75 | static unsigned long appflags = 0; |
76 | 76 | ||
77 | static struct event_queue dircache_queue; | 77 | static struct event_queue dircache_queue SHAREDBSS_ATTR; |
78 | static long dircache_stack[(DEFAULT_STACK_SIZE + 0x400)/sizeof(long)]; | 78 | static long dircache_stack[(DEFAULT_STACK_SIZE + 0x400)/sizeof(long)]; |
79 | static const char dircache_thread_name[] = "dircache"; | 79 | static const char dircache_thread_name[] = "dircache"; |
80 | 80 | ||
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index dfc63021c9..fc2efcd3e4 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -90,7 +90,7 @@ static long last_disk_activity = -1; | |||
90 | 90 | ||
91 | /* private variables */ | 91 | /* private variables */ |
92 | 92 | ||
93 | static struct mutex mmc_mutex; | 93 | static struct mutex mmc_mutex SHAREDBSS_ATTR; |
94 | 94 | ||
95 | #ifdef HAVE_HOTSWAP | 95 | #ifdef HAVE_HOTSWAP |
96 | static long mmc_stack[((DEFAULT_STACK_SIZE*2) + 0x800)/sizeof(long)]; | 96 | static long mmc_stack[((DEFAULT_STACK_SIZE*2) + 0x800)/sizeof(long)]; |
@@ -98,7 +98,7 @@ static long mmc_stack[((DEFAULT_STACK_SIZE*2) + 0x800)/sizeof(long)]; | |||
98 | static long mmc_stack[(DEFAULT_STACK_SIZE*2)/sizeof(long)]; | 98 | static long mmc_stack[(DEFAULT_STACK_SIZE*2)/sizeof(long)]; |
99 | #endif | 99 | #endif |
100 | static const char mmc_thread_name[] = "mmc"; | 100 | static const char mmc_thread_name[] = "mmc"; |
101 | static struct event_queue mmc_queue; | 101 | static struct event_queue mmc_queue SHAREDBSS_ATTR; |
102 | static bool initialized = false; | 102 | static bool initialized = false; |
103 | static bool new_mmc_circuit; | 103 | static bool new_mmc_circuit; |
104 | 104 | ||
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 403b521db0..c2df00691b 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "lcd-remote.h" | 42 | #include "lcd-remote.h" |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | struct event_queue button_queue; | 45 | struct event_queue button_queue SHAREDBSS_ATTR; |
46 | 46 | ||
47 | static long lastbtn; /* Last valid button status */ | 47 | static long lastbtn; /* Last valid button status */ |
48 | static long last_read; /* Last button status, for debouncing/filtering */ | 48 | static long last_read; /* Last button status, for debouncing/filtering */ |
diff --git a/firmware/drivers/i2c.c b/firmware/drivers/i2c.c index 8cc7c78a2d..b3a53240b4 100644 --- a/firmware/drivers/i2c.c +++ b/firmware/drivers/i2c.c | |||
@@ -54,7 +54,7 @@ | |||
54 | /* arbitrary delay loop */ | 54 | /* arbitrary delay loop */ |
55 | #define DELAY do { int _x; for(_x=0;_x<20;_x++);} while (0) | 55 | #define DELAY do { int _x; for(_x=0;_x<20;_x++);} while (0) |
56 | 56 | ||
57 | static struct mutex i2c_mtx; | 57 | static struct mutex i2c_mtx SHAREDBSS_ATTR; |
58 | 58 | ||
59 | void i2c_begin(void) | 59 | void i2c_begin(void) |
60 | { | 60 | { |
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index 70bbcbeae1..5dd80f1a07 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c | |||
@@ -49,7 +49,7 @@ static struct scrollinfo lcd_scroll[LCD_SCROLLABLE_LINES]; | |||
49 | 49 | ||
50 | #ifdef HAVE_REMOTE_LCD | 50 | #ifdef HAVE_REMOTE_LCD |
51 | static struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES]; | 51 | static struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES]; |
52 | static struct event_queue scroll_queue; | 52 | static struct event_queue scroll_queue SHAREDBSS_ATTR; |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | struct scroll_screen_info lcd_scroll_info = | 55 | struct scroll_screen_info lcd_scroll_info = |
diff --git a/firmware/target/arm/ata-sd-pp.c b/firmware/target/arm/ata-sd-pp.c index b200dc4c22..f83bb60566 100644 --- a/firmware/target/arm/ata-sd-pp.c +++ b/firmware/target/arm/ata-sd-pp.c | |||
@@ -182,7 +182,7 @@ static struct sd_card_status sd_status[NUM_DRIVES] = | |||
182 | static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x1c0)/sizeof(long)]; | 182 | static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x1c0)/sizeof(long)]; |
183 | static const char sd_thread_name[] = "ata/sd"; | 183 | static const char sd_thread_name[] = "ata/sd"; |
184 | static struct mutex sd_mtx SHAREDBSS_ATTR; | 184 | static struct mutex sd_mtx SHAREDBSS_ATTR; |
185 | static struct event_queue sd_queue; | 185 | static struct event_queue sd_queue SHAREDBSS_ATTR; |
186 | 186 | ||
187 | #ifdef HAVE_HOTSWAP | 187 | #ifdef HAVE_HOTSWAP |
188 | static int sd_first_drive = 0; | 188 | static int sd_first_drive = 0; |
diff --git a/firmware/test/i2c/main.c b/firmware/test/i2c/main.c index 7a2ff49fcb..ad684829fb 100644 --- a/firmware/test/i2c/main.c +++ b/firmware/test/i2c/main.c | |||
@@ -288,7 +288,7 @@ bool filling; /* We are filling the buffer with data from disk */ | |||
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | struct event_queue mpeg_queue; | 291 | struct event_queue mpeg_queue SHAREDBSS_ATTR; |
292 | 292 | ||
293 | 293 | ||
294 | 294 | ||
diff --git a/firmware/test/kernel/main.c b/firmware/test/kernel/main.c index 6a20551bb1..df0e72156a 100644 --- a/firmware/test/kernel/main.c +++ b/firmware/test/kernel/main.c | |||
@@ -31,7 +31,7 @@ unsigned int s2[256]; | |||
31 | void t1(void); | 31 | void t1(void); |
32 | void t2(void); | 32 | void t2(void); |
33 | 33 | ||
34 | struct event_queue main_q; | 34 | struct event_queue main_q SHAREDBSS_ATTR; |
35 | 35 | ||
36 | int tick_add_task(void (*f)(void)); | 36 | int tick_add_task(void (*f)(void)); |
37 | 37 | ||
diff --git a/firmware/usb.c b/firmware/usb.c index 13f66159ac..ebbf0807eb 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -82,7 +82,7 @@ static const char usb_thread_name[] = "usb"; | |||
82 | static unsigned int usb_thread_entry = 0; | 82 | static unsigned int usb_thread_entry = 0; |
83 | static bool usb_monitor_enabled = false; | 83 | static bool usb_monitor_enabled = false; |
84 | #endif /* USB_FULL_INIT */ | 84 | #endif /* USB_FULL_INIT */ |
85 | static struct event_queue usb_queue; | 85 | static struct event_queue usb_queue SHAREDBSS_ATTR; |
86 | static bool exclusive_storage_access = false; | 86 | static bool exclusive_storage_access = false; |
87 | #ifdef USB_ENABLE_HID | 87 | #ifdef USB_ENABLE_HID |
88 | static bool usb_hid = true; | 88 | static bool usb_hid = true; |