HomeFreeBSD

amd64: move signal handling and register structures manipulations into…

Description

amd64: move signal handling and register structures manipulations into exec_machdep.c

from machdep.c which is too large pile of unrelated things.
Some ptrace functions are moved from machdep.c to ptrace_machdep.c.

Now machdep.c contains code mostly related to the low level initialization
and regular low level operation of the architecture, while signal MD code
and registers handling is placed in exec_machdep.c.

Reviewed by: jhb, markj
Discussed with: jrtc27
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31954

Details

Provenance
kibAuthored on Sep 13 2021, 8:33 PM
Reviewer
jhb
Differential Revision
D31954: amd64: stop using top of the thread' kernel stack for FPU user save area
Parents
rGa42d362bb54a: amd64: centralize definitions of CS_SECURE and EFL_SECURE
Branches
Unknown
Tags
Unknown