HelenOS sources
STACK_ALIGNMENT 45 kernel/arch/arm32/include/arch/context.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 44 kernel/arch/arm64/include/arch/context.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 50 kernel/arch/ia64/include/arch/context.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 60 kernel/arch/ia64/include/arch/context.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size / 2), STACK_ALIGNMENT) - SP_DELTA; \
STACK_ALIGNMENT 222 kernel/arch/ia64/src/ia64.c return ALIGN_DOWN(stack_base + stack_size / 2, STACK_ALIGNMENT);
STACK_ALIGNMENT 252 kernel/arch/ia64/src/ia64.c sp, sp + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT),
STACK_ALIGNMENT 45 kernel/arch/mips32/include/arch/context.h #define SP_DELTA (ABI_STACK_FRAME + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 49 kernel/arch/sparc64/include/arch/context.h STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \
STACK_ALIGNMENT 49 uspace/lib/c/arch/arm32/include/libarch/fibril.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 49 uspace/lib/c/arch/arm64/include/libarch/fibril.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 48 uspace/lib/c/arch/ia64/include/libarch/fibril.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 62 uspace/lib/c/arch/ia64/include/libarch/fibril.h ALIGN_UP((size / FIBRIL_INITIAL_STACK_DIVISION), STACK_ALIGNMENT) - \
STACK_ALIGNMENT 44 uspace/lib/c/arch/mips32/include/libarch/fibril.h #define SP_DELTA (ABI_STACK_FRAME + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
STACK_ALIGNMENT 49 uspace/lib/c/arch/sparc64/include/libarch/fibril.h STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \
HelenOS homepage, sources at GitHub