diff options
author | Warner Losh | 2021-08-07 02:48:37 +0200 |
---|---|---|
committer | Warner Losh | 2021-09-10 22:13:06 +0200 |
commit | 312a0b1cbf941c37d3d3aeb1ed651613e04262b5 (patch) | |
tree | 2cf26e84457c6bfb969712ef2f323320f7478ecf /bsd-user/netbsd/target_os_thread.h | |
parent | bsd-user: Create target specific vmparam.h (diff) | |
download | qemu-312a0b1cbf941c37d3d3aeb1ed651613e04262b5.tar.gz qemu-312a0b1cbf941c37d3d3aeb1ed651613e04262b5.tar.xz qemu-312a0b1cbf941c37d3d3aeb1ed651613e04262b5.zip |
bsd-user: Add system independent stack, data and text limiting
Eliminate the x86 specific stack stuff in favor of more generic control
over the process size:
target_maxtsiz max text size
target_dfldsiz initial data size limit
target_maxdsiz max data size
target_dflssiz initial stack size limit
target_maxssiz max stack size
target_sgrowsiz amount to grow stack
These can be set on a per-arch basis, and the stack size can be set
on the command line. Adjust the stack size parameters at startup.
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/netbsd/target_os_thread.h')
0 files changed, 0 insertions, 0 deletions