git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@618 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ce006bda5a
commit
36c9110259
|
@ -124,7 +124,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the thread working area global size.
|
* Computes the thread working area global size.
|
||||||
*/
|
*/
|
||||||
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
||||||
|
|
|
@ -132,7 +132,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the thread working area global size.
|
* Computes the thread working area global size.
|
||||||
*/
|
*/
|
||||||
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
||||||
|
|
|
@ -148,7 +148,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the thread working area global size.
|
* Computes the thread working area global size.
|
||||||
*/
|
*/
|
||||||
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
||||||
|
|
|
@ -121,7 +121,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the thread working area global size.
|
* Computes the thread working area global size.
|
||||||
*/
|
*/
|
||||||
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
||||||
|
|
|
@ -95,7 +95,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the thread working area global size.
|
* Computes the thread working area global size.
|
||||||
*/
|
*/
|
||||||
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
|
||||||
|
|
Loading…
Reference in New Issue