diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 02:34:17 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 02:34:17 +0000 |
commit | 4d7671ce224a0f96aabb114a4cd5246e3bcc31d0 (patch) | |
tree | cbd4a4c5198d0cf4da045d4493319209ecf0c7ba /firmware | |
parent | 085032bf0237a4edf5763caf03faf307d45a5374 (diff) | |
download | rockbox-4d7671ce224a0f96aabb114a4cd5246e3bcc31d0.tar.gz rockbox-4d7671ce224a0f96aabb114a4cd5246e3bcc31d0.zip |
Aligned thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ata_mmc.c | 2 | ||||
-rw-r--r-- | firmware/powermgmt.c | 2 | ||||
-rw-r--r-- | firmware/usb.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 260418c694..b528bdb1e3 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -91,7 +91,7 @@ long last_disk_activity = -1; | |||
91 | static struct mutex mmc_mutex; | 91 | static struct mutex mmc_mutex; |
92 | 92 | ||
93 | #ifdef HAVE_HOTSWAP | 93 | #ifdef HAVE_HOTSWAP |
94 | static char mmc_stack[DEFAULT_STACK_SIZE]; | 94 | static long mmc_stack[DEFAULT_STACK_SIZE/sizeof(long)]; |
95 | static const char mmc_thread_name[] = "mmc"; | 95 | static const char mmc_thread_name[] = "mmc"; |
96 | static struct event_queue mmc_queue; | 96 | static struct event_queue mmc_queue; |
97 | #endif | 97 | #endif |
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 46f9d4df3f..cb9fb53fcb 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -164,7 +164,7 @@ void enable_trickle_charge(bool on) | |||
164 | } | 164 | } |
165 | #endif /* HAVE_CHARGE_CTRL */ | 165 | #endif /* HAVE_CHARGE_CTRL */ |
166 | 166 | ||
167 | static char power_stack[DEFAULT_STACK_SIZE]; | 167 | static long power_stack[DEFAULT_STACK_SIZE/sizeof(long)]; |
168 | static const char power_thread_name[] = "power"; | 168 | static const char power_thread_name[] = "power"; |
169 | 169 | ||
170 | static int poweroff_timeout = 0; | 170 | static int poweroff_timeout = 0; |
diff --git a/firmware/usb.c b/firmware/usb.c index f1c8f37541..90537f9a84 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -74,7 +74,7 @@ static int usb_mmc_countdown = 0; | |||
74 | 74 | ||
75 | /* FIXME: The extra 0x400 is consumed by fat_mount() when the fsinfo | 75 | /* FIXME: The extra 0x400 is consumed by fat_mount() when the fsinfo |
76 | needs updating */ | 76 | needs updating */ |
77 | static char usb_stack[DEFAULT_STACK_SIZE + 0x400]; | 77 | static long usb_stack[(DEFAULT_STACK_SIZE + 0x400)/4]; |
78 | static const char usb_thread_name[] = "usb"; | 78 | static const char usb_thread_name[] = "usb"; |
79 | static struct event_queue usb_queue; | 79 | static struct event_queue usb_queue; |
80 | static bool last_usb_status; | 80 | static bool last_usb_status; |