1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/sys/sparc64/sparc64
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
..
ata_machdep.c
autoconf.c
bus_machdep.c
cache.c
cam_machdep.c
cheetah.c
clock.c
counter.c
db_disasm.c
db_hwwatch.c
db_interface.c
db_trace.c
dump_machdep.c Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
eeprom.c
elf_machdep.c
exception.S
gdb_machdep.c
genassym.c
identcpu.c
in_cksum.c
interrupt.S
intr_machdep.c
iommu.c
jbusppm.c
locore.S
machdep.c Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
mem.c Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed 2015-01-24 12:51:15 +00:00
mp_exception.S
mp_locore.S
mp_machdep.c
nexus.c
ofw_machdep.c
pmap.c
prof_machdep.c
rtc.c
rwindow.c
sc_machdep.c
schppm.c
spitfire.c
ssm.c
stack_machdep.c
support.S
swtch.S
sys_machdep.c
tick.c
tlb.c
trap.c
tsb.c
uio_machdep.c
upa.c
vm_machdep.c
zeus.c