mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
misc: Ensure stacks are always aligned with the native pointer size.
Change-Id: Ie7efae914dcb43be98bbb71bae9b765b2d87d817
This commit is contained in:
parent
695698b918
commit
16c9ef64b0
8 changed files with 9 additions and 9 deletions
|
|
@ -25,7 +25,7 @@
|
|||
#include "pca9555.h"
|
||||
|
||||
static struct semaphore pca9555_sem;
|
||||
static char pca9555_thread_stack[DEFAULT_STACK_SIZE];
|
||||
static long pca9555_thread_stack[DEFAULT_STACK_SIZE/sizeof(long)];
|
||||
volatile unsigned short pca9555_in_ports;
|
||||
|
||||
void INT_GPIO1(void)
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ unsigned short pmu_read_adc(const struct pmu_adc_channel *ch)
|
|||
*/
|
||||
#define Q_EINT 0
|
||||
|
||||
static char pmu_thread_stack[DEFAULT_STACK_SIZE/2];
|
||||
static long pmu_thread_stack[DEFAULT_STACK_SIZE/2/sizeof(long)];
|
||||
static struct event_queue pmu_queue;
|
||||
static unsigned char ints_msk[6];
|
||||
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ unsigned short pmu_read_adc(const struct pmu_adc_channel *ch)
|
|||
*/
|
||||
#define Q_EINT 0
|
||||
|
||||
static char pmu_thread_stack[DEFAULT_STACK_SIZE/2];
|
||||
static long pmu_thread_stack[DEFAULT_STACK_SIZE/2/sizeof(long)];
|
||||
static struct event_queue pmu_queue;
|
||||
static unsigned char ints_msk[2];
|
||||
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ unsigned short pmu_read_adc(const struct pmu_adc_channel *ch)
|
|||
*/
|
||||
#define Q_EINT 0
|
||||
|
||||
static char pmu_thread_stack[DEFAULT_STACK_SIZE/2];
|
||||
static long pmu_thread_stack[DEFAULT_STACK_SIZE/2/sizeof(long)];
|
||||
static struct event_queue pmu_queue;
|
||||
static unsigned char ints_msk[3];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue