opnsense-src/sys/arm/xscale/i80321
Konstantin Belousov edc8222303 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
..
ep80219_machdep.c Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
files.ep80219 Use the base arm bus_space instead of an identical local copy. 2015-01-21 05:05:07 +00:00
files.i80219 Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
files.i80321 Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
files.iq31244 Use the base arm bus_space instead of an identical local copy. 2015-01-21 05:05:07 +00:00
i80321.c trim trailing spaces that have accumulated over the years (these files 2012-06-13 04:38:09 +00:00
i80321_aau.c trim trailing spaces that have accumulated over the years (these files 2012-06-13 04:38:09 +00:00
i80321_dma.c trim trailing spaces that have accumulated over the years (these files 2012-06-13 04:38:09 +00:00
i80321_intr.h Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
i80321_mcu.c
i80321_pci.c Remove all #include <machine/pmap.h> from arm code. It's already 2013-10-27 00:51:46 +00:00
i80321_space.c Use the base arm bus_space instead of an identical local copy. 2015-01-21 05:10:23 +00:00
i80321_timer.c Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
i80321_wdog.c
i80321reg.h trim trailing spaces that have accumulated over the years (these files 2012-06-13 04:38:09 +00:00
i80321var.h
iq31244_7seg.c trim trailing spaces that have accumulated over the years (these files 2012-06-13 04:38:09 +00:00
iq31244_machdep.c Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
iq80321.c Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
iq80321reg.h
iq80321var.h
obio.c Use the base arm bus_space instead of an identical local copy. 2015-01-21 05:05:07 +00:00
obiovar.h Use the base arm bus_space instead of an identical local copy. 2015-01-21 05:05:07 +00:00
std.ep80219
std.i80219 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.i80321 Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
std.iq31244
uart_bus_i80321.c
uart_cpu_i80321.c Use the base arm bus_space instead of an identical local copy. 2015-01-21 05:05:07 +00:00