Add API for obtaining extended machine context states that cannot be fit into existing mcontext_t.
On i386 and amd64 do return the extended FPU states using getcontextx(3). For other architectures, getcontextx(3) returns the same information as getcontext(2).
Tested by: pho MFC after: 1 month
|