1
0
Fork 0
forked from len0rd/rockbox

Aligned thread stack

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-02-06 02:34:17 +00:00
parent 085032bf02
commit 4d7671ce22
3 changed files with 3 additions and 3 deletions

View file

@ -91,7 +91,7 @@ long last_disk_activity = -1;
static struct mutex mmc_mutex; static struct mutex mmc_mutex;
#ifdef HAVE_HOTSWAP #ifdef HAVE_HOTSWAP
static char mmc_stack[DEFAULT_STACK_SIZE]; static long mmc_stack[DEFAULT_STACK_SIZE/sizeof(long)];
static const char mmc_thread_name[] = "mmc"; static const char mmc_thread_name[] = "mmc";
static struct event_queue mmc_queue; static struct event_queue mmc_queue;
#endif #endif

View file

@ -164,7 +164,7 @@ void enable_trickle_charge(bool on)
} }
#endif /* HAVE_CHARGE_CTRL */ #endif /* HAVE_CHARGE_CTRL */
static char power_stack[DEFAULT_STACK_SIZE]; static long power_stack[DEFAULT_STACK_SIZE/sizeof(long)];
static const char power_thread_name[] = "power"; static const char power_thread_name[] = "power";
static int poweroff_timeout = 0; static int poweroff_timeout = 0;

View file

@ -74,7 +74,7 @@ static int usb_mmc_countdown = 0;
/* FIXME: The extra 0x400 is consumed by fat_mount() when the fsinfo /* FIXME: The extra 0x400 is consumed by fat_mount() when the fsinfo
needs updating */ needs updating */
static char usb_stack[DEFAULT_STACK_SIZE + 0x400]; static long usb_stack[(DEFAULT_STACK_SIZE + 0x400)/4];
static const char usb_thread_name[] = "usb"; static const char usb_thread_name[] = "usb";
static struct event_queue usb_queue; static struct event_queue usb_queue;
static bool last_usb_status; static bool last_usb_status;