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
..
2021-08-05 23:22:02 +08:00
2021-06-07 16:45:50 -04:00
2020-10-05 15:54:19 +00:00
2020-11-19 02:50:48 +00:00
2021-08-10 21:27:53 -04:00
2021-08-10 21:27:54 -04:00
2021-08-10 21:27:54 -04:00
2020-12-04 18:56:44 +00:00
2021-04-18 11:19:15 -06:00
2021-04-12 11:42:21 -03:00
2021-08-05 17:16:30 -04:00
2021-08-10 21:27:54 -04:00
2020-11-05 15:08:56 +00:00
2021-08-08 21:54:49 -04:00
2020-11-09 00:34:23 +00:00
2020-08-13 20:48:14 +00:00
2021-04-02 15:41:51 +03:00
2021-07-28 22:00:29 -04:00
2021-08-10 21:27:53 -04:00
2020-12-01 16:06:31 +00:00
2021-04-07 14:33:02 -04:00
2020-01-12 23:52:16 +00:00
2021-08-05 23:22:02 +08:00
2021-08-05 23:22:02 +08:00
2021-04-18 11:14:17 -06:00
2020-08-27 05:11:15 +00:00
2021-07-28 09:35:09 -07:00
2021-07-28 09:35:09 -07:00
2021-07-28 09:35:09 -07:00
2021-04-18 11:19:15 -06:00
2021-07-24 12:52:32 -07:00