]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add kernel support needed for the KSE-aware libpthread:
authorJonathan Mini <mini@FreeBSD.org>
Mon, 16 Sep 2002 19:25:08 +0000 (19:25 +0000)
committerJonathan Mini <mini@FreeBSD.org>
Mon, 16 Sep 2002 19:25:08 +0000 (19:25 +0000)
commit575525a0005f266a0dee465d9df7127bfeef2c24
tree1422f3e0eee520ddbe0818b7dcdb3a3c7f038166
parentf990583656178b1520a28b726c285a2f3fe4b353
Add kernel support needed for the KSE-aware libpthread:
- Maintain fpu state across signals.
- Use ucontext_t's to store KSE thread state.
- Synthesize state for the UTS upon each upcall, rather than
  saving and copying a trapframe.
- Save and restore FPU state properly in ucontext_t's.

Reviewed by: deischen, julian
Approved by: -arch
sys/amd64/amd64/genassym.c
sys/amd64/amd64/machdep.c
sys/amd64/amd64/support.S
sys/amd64/amd64/support.s
sys/amd64/amd64/trap.c
sys/amd64/amd64/vm_machdep.c
sys/i386/i386/genassym.c
sys/i386/i386/machdep.c
sys/i386/i386/support.s
sys/i386/i386/trap.c
sys/i386/i386/vm_machdep.c