HelenOS sources
STACK_ARG_SAVE_AREA_SIZE 43 kernel/arch/sparc64/include/arch/context.h #define SP_DELTA (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE)
STACK_ARG_SAVE_AREA_SIZE 163 kernel/arch/sparc64/src/sun4u/sparc64.c return ALIGN_DOWN(stack_base + stack_size - STACK_WINDOW_SAVE_AREA_SIZE - STACK_ARG_SAVE_AREA_SIZE, 16) - STACK_BIAS;
STACK_ARG_SAVE_AREA_SIZE 161 kernel/arch/sparc64/src/sun4v/sparc64.c return ALIGN_DOWN(stack_base + stack_size - STACK_WINDOW_SAVE_AREA_SIZE - STACK_ARG_SAVE_AREA_SIZE, 16) - STACK_BIAS;
STACK_ARG_SAVE_AREA_SIZE 43 uspace/lib/c/arch/sparc64/include/libarch/fibril.h #define SP_DELTA (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE)
STACK_ARG_SAVE_AREA_SIZE 45 uspace/lib/c/arch/sparc64/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size - STACK_WINDOW_SAVE_AREA_SIZE - STACK_ARG_SAVE_AREA_SIZE, 16);
HelenOS homepage, sources at GitHub