HomeFreeBSD

Unify i386 and amd64 getcontextx.c, and use ifuncs while there.

Description

Unify i386 and amd64 getcontextx.c, and use ifuncs while there.

In particular, use ifuncs for getcontextx_size(), also calculate the
size of the extended save area in resolver. Same for
fillcontextx2().

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS344119: x86 __vdso_gettc(): use machine/cpufunc.h function for CPUID.
Branches
Unknown
Tags
Unknown