opnsense-src/sys/powerpc/include
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
..
_align.h MFppc64: 2010-07-13 05:32:19 +00:00
_bus.h MFppc64: 2010-07-13 05:32:19 +00:00
_inttypes.h White space changes to align comments. The mips and powerpc _inttypes.h 2011-01-08 18:02:46 +00:00
_limits.h On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than 2011-01-08 12:43:05 +00:00
_stdint.h Newer versions of gcc define __INT64_C and __UINT64_C, so avoid 2013-09-03 22:04:55 +00:00
_types.h Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
altivec.h Dump VMX registers into the userland coredump. 2015-01-03 21:06:06 +00:00
asm.h Use TOC to look up all kernel globals on powerpc64 instead of doing the 2015-01-18 20:00:33 +00:00
atomic.h Add the atomic_thread_fence() family of functions with intent to 2015-07-08 18:12:24 +00:00
bat.h Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
bus.h Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
bus_dma.h Provide a simple IOMMU framework on PowerPC, which is required to support 2010-12-03 16:37:37 +00:00
clock.h
counter.h Small performance optimization. Clobber only cr0, rather than the entire CR. 2014-04-11 06:17:44 +00:00
cpu.h cpu_number and cpu_swapout are never used, and only defined in powerpc. 2015-07-11 17:33:50 +00:00
cpufunc.h Correctly specify assembler constrains for synchronization instructions. 2012-04-22 21:55:19 +00:00
db_machdep.h Truncate DB_SMALL_VALUE_MAX to a much lower value. 2015-01-04 01:45:26 +00:00
dbdma.h Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00
dump.h Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
elf.h Reserve AT_TIMEKEEP auxv entry for providing usermode the pointer to 2012-06-22 06:38:31 +00:00
endian.h In case we ever support little-endian PowerPC (probably userland only), 2014-07-06 16:20:37 +00:00
exec.h
float.h Rationalize BSD license on sys/*/include/float.h 2015-08-05 17:05:35 +00:00
floatingpoint.h
fpu.h
frame.h The AIM DAR (data access fault address register) and Book-E DEAR registers 2015-03-04 21:06:57 +00:00
gdb_machdep.h Fix the PowerPC Book-E register definitions used by the remote GDB 2013-05-21 18:00:47 +00:00
hid.h Update HID defines for E500mc and E5500 CPU cores. 2012-05-25 21:12:24 +00:00
ieee.h
ieeefp.h People porting FreeBSD to new architectures ought not have to 2011-10-21 06:41:46 +00:00
in_cksum.h Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
intr_machdep.h Allow PIC drivers to translate firmware sense codes for themselves. This 2013-10-24 15:37:32 +00:00
kdb.h
limits.h
machdep.h Extract vendor specific Book-E pieces into separate files and have a common 2012-05-30 17:34:40 +00:00
md_var.h Update PowerPC event timer code to use new event timers infrastructure. 2010-09-11 04:45:51 +00:00
memdev.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
metadata.h Don't redefine MODINFOMD_BOOTINFO as MODINFOMD_DTBP. This 2011-01-15 20:18:08 +00:00
mmuvar.h Introduce inheritance into the PowerPC MMU kobj interface. 2010-09-15 00:17:52 +00:00
ofw_machdep.h Rearchitect platform memory map parsing to make it less 2013-12-01 19:43:15 +00:00
openpicreg.h Add suspend/resume state saving for OpenPIC on PowerMac. It's likely this 2013-12-21 04:31:54 +00:00
openpicvar.h Add suspend/resume state saving for OpenPIC on PowerMac. It's likely this 2013-12-21 04:31:54 +00:00
param.h Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
pcb.h Kernel support for the Vector-Scalar eXtension (VSX) found on the POWER7 2015-02-22 21:40:27 +00:00
pcpu.h Add two new pmap functions: 2015-08-04 19:46:13 +00:00
pio.h Fix final bugs in memory barriers on PowerPC: 2012-05-04 16:00:22 +00:00
platform.h Unbreak non-SMP builds. This was broken by r259284. Also, reorganize the 2014-01-31 03:55:34 +00:00
platformvar.h Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00
pmap.h New pmap implementation for 64-bit PowerPC processors. The main focus of 2015-02-24 21:37:20 +00:00
pmc_mdep.h Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
proc.h Implement GET_STACK_USAGE() on PowerPC. This implementation is identical 2013-10-02 20:40:21 +00:00
profile.h Revert r274772: it is not valid on MIPS 2014-11-25 03:50:31 +00:00
psl.h Kernel support for the Vector-Scalar eXtension (VSX) found on the POWER7 2015-02-22 21:40:27 +00:00
pte.h Use the correct type for physical addresses. 2015-07-04 19:00:38 +00:00
ptrace.h Add Altivec/VMX register support to ptrace. 2015-01-14 07:01:21 +00:00
reg.h Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h> 2015-04-08 16:30:45 +00:00
reloc.h
resource.h
rtas.h MFpseries: 2011-06-02 14:12:37 +00:00
runq.h MFppc64: 2010-07-13 05:32:19 +00:00
sc_machdep.h
setjmp.h
sigframe.h
signal.h
slb.h Deallocate any leftover page table entries in the LPAR at boot. This 2015-03-13 00:08:58 +00:00
smp.h Add the powerpc support. 2011-05-09 16:16:15 +00:00
spr.h Add machine check register printing 2015-07-04 18:16:41 +00:00
sr.h Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00
stack.h
stdarg.h
sysarch.h Add sysarch.h. It's included by drm(4). 2009-04-04 22:05:36 +00:00
tlb.h Interrelated improvements to early boot mappings: 2013-10-26 18:18:14 +00:00
trap.h Missed this in r281096 as well. 2015-04-05 16:35:13 +00:00
ucontext.h Provide VSX context in ucontext(3) API. 2015-03-12 21:15:38 +00:00
varargs.h
vdso.h Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
vm.h - Rename VM_MEMATTR_UNCACHED to VM_MEMATTR_WEAK_UNCACHEABLE on x86 to 2012-03-29 16:51:22 +00:00
vmparam.h Retire VM_FREEPOOL_CACHE as the next step in eliminating PG_CACHE pages. 2015-06-08 04:59:32 +00:00