freebsd-dev/sys/mips/include
John Baldwin 822d2d6ac9 Various fixes to TLS for MIPS.
- Clear the current thread's TLS pointer on exec. Previously the TLS
  pointer (and register) remain unchanged.

- Explicitly clear the TLS pointer when new threads are created.

- Make md_tls_tcb_offset per-process instead of per-thread.

  The layout of the TLS and TCB are identical for all threads in a
  process, it is only the TLS pointer values themselves that vary by
  thread.  This also makes setting md_tls_tcb_offset in
  cpu_set_user_tls() redundant with the setting in exec_setregs(), so
  only set it in exec_setregs().

Submitted by:	Alfredo Mazzinghi (1)
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D24957
2020-06-12 21:21:18 +00:00
..
_align.h
_bus.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
_inttypes.h
_limits.h
_stdint.h
_types.h
abi.h
asm.h
atomic.h [PowerPC] [MIPS] Implement 32-bit kernel emulation of atomic64 operations 2020-01-02 23:20:37 +00:00
bootinfo.h
bus_dma.h
bus.h
cache_mipsNN.h
cache_r4k.h
cache.h
cca.h
cdefs.h
clock.h
counter.h
cpu.h
cpufunc.h Use the right type for 64-bit coprocessor registers. 2020-04-17 18:24:47 +00:00
cpuinfo.h
cpuregs.h
db_machdep.h
dump.h
efi.h
elf.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
endian.h
exec.h
fdt.h
float.h
floatingpoint.h
fls64.h
fpu.h
frame.h
gdb_machdep.h
hwfunc.h
ieee.h
ieeefp.h
in_cksum.h
intr_machdep.h
intr.h
kdb.h
limits.h
locore.h
md_var.h Print CPU informtion later in boot. 2020-05-20 21:16:54 +00:00
memdev.h
metadata.h
minidump.h
mips_opcode.h
octeon_cop2.h
ofw_machdep.h
param.h
pcb.h
pcpu_aux.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
pcpu.h mips: fix kernel build after r357804 2020-02-14 20:25:04 +00:00
pmap.h Introduce vm_page_astate. 2019-12-10 18:14:50 +00:00
pmc_mdep.h
proc.h Various fixes to TLS for MIPS. 2020-06-12 21:21:18 +00:00
procctl.h
profile.h Remove two obsolete comments that reference splhigh/splx. 2019-11-21 18:49:54 +00:00
pte.h
ptrace.h
reg.h
regdef.h
regnum.h mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM 2019-08-22 21:43:21 +00:00
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h
stdarg.h
sysarch.h
tlb.h
tls.h
trap.h
ucontext.h
vdso.h
vm.h
vmparam.h