HelenOS sources
STACK_SIZE 40 kernel/arch/abs32le/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 40 kernel/arch/amd64/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 57 kernel/arch/amd64/src/proc/scheduler.c CPU->arch.tss->rsp0 = (uintptr_t) &THREAD->kstack[STACK_SIZE];
STACK_SIZE 41 kernel/arch/arm32/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 131 kernel/arch/arm32/src/arm32.c stck = &THREAD->kstack[STACK_SIZE];
STACK_SIZE 41 kernel/arch/arm64/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 40 kernel/arch/ia32/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 60 kernel/arch/ia32/src/proc/scheduler.c uintptr_t kstk = (uintptr_t) &THREAD->kstack[STACK_SIZE];
STACK_SIZE 40 kernel/arch/ia64/include/arch/stack.h #define MEM_STACK_SIZE (STACK_SIZE / 2)
STACK_SIZE 91 kernel/arch/ia64/src/proc/scheduler.c : "r" (&THREAD->kstack[STACK_SIZE / 2]),
STACK_SIZE 92 kernel/arch/ia64/src/proc/scheduler.c "r" (&THREAD->kstack[STACK_SIZE / 2])
STACK_SIZE 40 kernel/arch/mips32/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 191 kernel/arch/mips32/src/mips32.c (uintptr_t) &THREAD->kstack[STACK_SIZE];
STACK_SIZE 40 kernel/arch/ppc32/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 57 kernel/arch/ppc32/src/proc/scheduler.c :: [ksp] "r" (KA2PA(&THREAD->kstack[STACK_SIZE]))
STACK_SIZE 40 kernel/arch/riscv64/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 40 kernel/arch/sparc64/include/arch/stack.h #define MEM_STACK_SIZE STACK_SIZE
STACK_SIZE 67 kernel/arch/sparc64/src/proc/sun4u/scheduler.c sp = (uintptr_t) THREAD->kstack + STACK_SIZE - STACK_BIAS;
STACK_SIZE 59 kernel/arch/sparc64/src/proc/sun4v/scheduler.c sp = (uintptr_t) THREAD->kstack + STACK_SIZE - STACK_BIAS;
STACK_SIZE 52 kernel/generic/include/arch.h (~((uintptr_t) STACK_SIZE - 1))))
STACK_SIZE 79 kernel/generic/src/cpu/cpu.c FRAME_LOWMEM | FRAME_ATOMIC, STACK_SIZE - 1);
STACK_SIZE 136 kernel/generic/src/main/main.c static const size_t bootstrap_stack_size = STACK_SIZE;
STACK_SIZE 137 kernel/generic/src/main/main.c static _Alignas(STACK_SIZE) uint8_t bootstrap_stack[STACK_SIZE];
STACK_SIZE 140 kernel/generic/src/main/main.c uint8_t *const bootstrap_stack_top = bootstrap_stack + STACK_SIZE;
STACK_SIZE 290 kernel/generic/src/main/main.c context_replace(scheduler_run, CPU_LOCAL->stack, STACK_SIZE);
STACK_SIZE 336 kernel/generic/src/main/main.c context_replace(main_ap_separated_stack, CPU_LOCAL->stack, STACK_SIZE);
STACK_SIZE 149 kernel/generic/src/proc/thread.c frame_alloc(STACK_FRAMES, kmflags, STACK_SIZE - 1);
STACK_SIZE 244 kernel/generic/src/proc/thread.c memsetb(thread->kstack, STACK_SIZE, 0);
STACK_SIZE 251 kernel/generic/src/proc/thread.c thread->kstack, STACK_SIZE);
HelenOS homepage, sources at GitHub