freebsd-dev/sys/i386
Dmitry Chagin de8374df28 fork: Allow ABI to specify fork return values for child.
At least Linux x86 ABI's does not use carry bit and expects that the dx register
is preserved. For this add a new sv_set_fork_retval hook and call it from cpu_fork().

Add a short comment about touching dx in x86_set_fork_retval(), for more details
see phab comments from kib@ and imp@.

Reviewed by:		kib
Differential revision:	https://reviews.freebsd.org/D31472
MFC after:		2 weeks
2021-08-12 11:45:25 +03:00
..
acpica acpi: Fix a repeated comment typo 2021-07-19 17:19:23 +01:00
bios Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
cloudabi32 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
conf xen/timer: fix amd64 LINT kernel build 2021-08-02 10:33:35 +02:00
i386 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
include Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
linux fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
pci i386: clean up empty lines in .c and .h files 2020-09-01 21:19:39 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00