HelenOS sources
STACK_FRAMES 42 kernel/generic/include/config.h #define STACK_SIZE FRAMES2SIZE(STACK_FRAMES)
STACK_FRAMES 78 kernel/generic/src/cpu/cpu.c uintptr_t stack_phys = frame_alloc(STACK_FRAMES,
STACK_FRAMES 149 kernel/generic/src/proc/thread.c frame_alloc(STACK_FRAMES, kmflags, STACK_SIZE - 1);
STACK_FRAMES 170 kernel/generic/src/proc/thread.c frame_free(KA2PA(thread->kstack), STACK_FRAMES);
STACK_FRAMES 172 kernel/generic/src/proc/thread.c return STACK_FRAMES; /* number of frames freed */
HelenOS homepage, sources at GitHub