Add __stack tag for aligning task/fiber stacks
The "__stack" tag is to be used to align an array (to STACK_ALIGN) for stack use by either a fiber or task. Change-Id: I5828f3ee1b09b0b5ba894ea30689d179de347494 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
db8a41c90d
commit
ad74658009
7 changed files with 33 additions and 27 deletions
|
@ -64,6 +64,8 @@ extern "C" {
|
|||
#include <arch/arm/CortexM/asm_inline.h>
|
||||
#endif
|
||||
|
||||
#define STACK_ALIGN 4
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue