freebsd-nq/sys/powerpc
Konstantin Belousov 206f09eb46 Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as
const.  On x86, even after the machine context is supposedly read into
the struct ucontext, lazy FPU state save code might only mark the FPU
data as hardware-owned.  Later, set_fpcontext() needs to fetch the
state from hardware, modifying the *mcp.

The set_mcontext(9) is called from sigreturn(2) and setcontext(2)
implementations and old create_thread(2) interface, which throw the
*mcp out after the set_mcontext() call.

Reported by:	dim
Discussed with:	jhb
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-01-31 21:43:46 +00:00
..
aim Fix typo in r277561. 2015-01-24 01:58:15 +00:00
booke Refactor PowerPC (especially AIM) init sequence to be less baroque. 2015-01-18 18:32:43 +00:00
conf Make netbooting work again by disabling BOOTP_NFSV3. Investigate why this 2015-01-16 17:41:21 +00:00
cpufreq
fpu
include Make 64-bit AIM trap handlers relocatable by changing all absolute branch 2015-01-21 19:07:45 +00:00
mambo
mpc85xx
ofw Correctness improvements for removing FDT excluded memory areas. 2015-01-31 18:39:32 +00:00
powermac
powerpc Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
ps3
pseries Fix bug in mapppings of multiple pages exposed by updates to the VSCSI 2015-01-27 07:20:00 +00:00
psim
wii