freebsd-skq/sys/arm/samsung/s3c2xx0
kib 9033c894a1 Make kstack_pages a tunable on arm, x86, and powepc. On i386, the
initial thread stack is not adjusted by the tunable, the stack is
allocated too early to get access to the kernel environment. See
TD0_KSTACK_PAGES for the thread0 stack sizing on i386.

The tunable was tested on x86 only.  From the visual inspection, it
seems that it might work on arm and powerpc.  The arm
USPACE_SVC_STACK_TOP and powerpc USPACE macros seems to be already
incorrect for the threads with non-default kstack size.  I only
changed the macros to use variable instead of constant, since I cannot
test.

On arm64, mips and sparc64, some static data structures are sized by
KSTACK_PAGES, so the tunable is disabled.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 week
2015-08-10 17:18:21 +00:00
..
board_ln2410sbc.c
files.s3c2xx0
s3c2xx0board.h
s3c2xx0reg.h
s3c2xx0var.h
s3c24x0_clk.c
s3c24x0_machdep.c
s3c24x0_rtc.c
s3c24x0.c
s3c24x0reg.h
s3c24x0var.h
s3c2410reg.h
s3c2410var.h
s3c2440reg.h
std.ln2410sbc
std.s3c2410
uart_bus_s3c2410.c
uart_cpu_s3c2410.c
uart_dev_s3c2410.c
uart_dev_s3c2410.h