freebsd-nq/sys/mips/mips
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
..
autoconf.c
bcopy.S
bus_space_fdt.c Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
bus_space_generic.c Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
busdma_machdep.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
cache_mipsNN.c Add 128-byte cache flushing routines. 2015-01-20 11:10:25 +00:00
cache.c Add 128-byte cache flushing routines. 2015-01-20 11:10:25 +00:00
cpu.c Fix build for certain MIPS kernels hiding an unused variable under #ifndef. 2014-11-21 10:47:29 +00:00
db_disasm.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
elf_machdep.c
elf_trampoline.c
exception.S
fp.S
freebsd32_machdep.c Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
gdb_machdep.c Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
genassym.c
in_cksum.c
inckern.S
intr_machdep.c
libkern_machdep.c
locore.S
machdep.c ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +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
minidump_machdep.c Pass up the error status of minidumpsys() to its callers. 2014-10-08 20:25:21 +00:00
mp_machdep.c Retire smp_active. It was racey and caused demonstrated problems with 2014-04-26 20:27:54 +00:00
mpboot.S
nexus.c
octeon_cop2_swtch.S
octeon_cop2.c
pm_machdep.c Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
pmap.c Change pmap_enter(9) interface to take flags parameter and superpage 2014-08-08 17:12:03 +00:00
ptrace_machdep.c
sc_machdep.c
stack_machdep.c
stdatomic.c opt_global.h is included automatically in the build. No need to 2014-11-18 17:06:56 +00:00
support.S
swtch.S
sys_machdep.c
tick.c
tlb.c
trap.c Restore the trap type argument to the DTrace trap hook, removed in r268600. 2014-12-23 15:38:19 +00:00
uio_machdep.c Delete stray clause 3 (Advertising clause) and renumber while i'm 2014-03-11 23:41:35 +00:00
uma_machdep.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_machdep.c Merge all MD sf_buf allocators into one MI, residing in kern/subr_sfbuf.c 2014-08-05 09:44:10 +00:00