Add support for Floating Point registers in ucontext_t on NetBSD
authorKamil Rytarowski <n54@gmx.com>
Tue, 9 Feb 2016 04:33:02 +0000 (05:33 +0100)
committerKamil Rytarowski <n54@gmx.com>
Tue, 9 Feb 2016 04:37:46 +0000 (05:37 +0100)
commitbca3d514a97fd5846a0f65fa47d17e1560fa5946
treea319f6f1fe6f2e73f4e0fe1aa67ad3c7da475cbe
parent4145422cba5361437b0380704e2821d2a4462fd8
Add support for Floating Point registers in ucontext_t on NetBSD

This code assumes x86_64 platform and modern fxsave style of FP regs.

i386 Floating Point registers ship with different flavors, what will be
handled once the 64-bit code will be finished.

Commit migrated from https://github.com/dotnet/coreclr/commit/6cb0c4b86b3490a061c8d54e4226cad6caca83c9
src/coreclr/src/pal/src/include/pal/context.h
src/coreclr/src/pal/src/thread/context.cpp