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:
Peter Mitsis 2015-05-26 10:21:42 -04:00 committed by Anas Nashif
commit ad74658009
7 changed files with 33 additions and 27 deletions

View file

@ -64,6 +64,8 @@ extern "C" {
#include <arch/arm/CortexM/asm_inline.h>
#endif
#define STACK_ALIGN 4
#ifdef __cplusplus
}
#endif