Config option for kernel stack size (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 12 Jun 2014 19:02:02 +0000 (12:02 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 12 Jun 2014 19:02:02 +0000 (12:02 -0700)
commit7e8256c14e102406c8503ff05b7b4abb6f7e8cf6
tree84bdec70c42276d66697e9504eb86ce2a1d5afdc
parent7879dc37e259fb9cd2bfc2e4195aa426608f946e
Config option for kernel stack size (XCC)

Use the big stacks if you want to play it safe (the default).  I'm using
the small stacks.  If you do use the small stacks, if you have weird
crashes or panics, try toggling this setting.

Technically, this changes a kernel header, though userspace wasn't using
the KSTACK #defines, so don't worry about it.
Kconfig
kern/arch/riscv/entry.S
kern/arch/x86/entry32.S
kern/arch/x86/entry64.S
kern/include/kstack.h [new file with mode: 0644]
kern/include/ros/memlayout.h
kern/src/kthread.c