From: Warner Losh<imp@FreeBSD.org>
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>
Sponsored by: Netflix
---
bsd-user/elfload.c | 2 +-
bsd-user/main.c | 51 +++++++++++++++++++++++++++++++++-------------
bsd-user/qemu.h | 7 ++++++-
3 files changed, 44 insertions(+), 16 deletions(-)