]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Segment registers are stored in the uc_mcontext member of the struct
authorkib <kib@FreeBSD.org>
Sun, 7 Sep 2008 16:39:21 +0000 (16:39 +0000)
committerkib <kib@FreeBSD.org>
Sun, 7 Sep 2008 16:39:21 +0000 (16:39 +0000)
commita568a3185ee59bb37249a48388136cdb5bb0b5d0
tree45e4f50c5c45b1c39b7b473d00236d0146aa9e03
parent3988a6e0e0d960f18b808a6e4560e7207a069255
Segment registers are stored in the uc_mcontext member of the struct
l_ucontext. To restore the registers content, trampoline needs to
dereference uc_mcontext instead of taking some undefined values from
l_ucontext.

Submitted by: Dmitry Chagin <dchagin@>
MFC after: 1 week
sys/amd64/linux32/linux32_genassym.c
sys/amd64/linux32/linux32_locore.s
sys/i386/linux/linux_genassym.c
sys/i386/linux/linux_locore.s