freebsd-skq/sys/mips/include
adrian c7b25f3512 [mips] add support for using the MIPS user register for TLS data.
This work, originally from Stacey Son, uses the MIPS UserReg for
reading the TLS data, and will fall back to the normal syscall path
when it isn't supported.

This code dynamically patches cpu_switch() to bypass the UserReg
instruction so to avoid generating a machine exception.

Thanks to sson for the original work, and to Dan Nelson for
bringing it to date and testing it on MIPS32 with me.

Tested:

* mips64 (sson)
* mips74k (dnelson_1901@yahoo.com) - AR9344 SoC, UserReg support
* mips24k (adrian) - AR9331 SoC, no UserReg support

Obtained from:	sson, dnelson_1901@yahoo.com
2016-08-07 01:29:55 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h
asm.h Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options 2016-02-02 07:47:38 +00:00
atomic.h Add the atomic_thread_fence() family of functions with intent to 2015-07-08 18:12:24 +00:00
bootinfo.h
bus_dma.h
bus.h Missing commit - remove MIPS fdt bus space. 2016-02-11 06:19:58 +00:00
cache_mipsNN.h Add 64 byte linesize cache flushing routines for L1 instruction, L1 data 2015-03-26 14:51:24 +00:00
cache_r4k.h Add 64 byte linesize cache flushing routines for L1 instruction, L1 data 2015-03-26 14:51:24 +00:00
cache.h
cdefs.h
clock.h Garbage collect unused prototype for clockintr(). 2016-05-20 15:34:03 +00:00
counter.h
cpu.h
cpufunc.h [mips] add support for using the MIPS user register for TLS data. 2016-08-07 01:29:55 +00:00
cpuinfo.h [mips] add support for using the MIPS user register for TLS data. 2016-08-07 01:29:55 +00:00
cpuregs.h [mips] add support for using the MIPS user register for TLS data. 2016-08-07 01:29:55 +00:00
db_machdep.h
dump.h Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
elf.h Update ELF headers to include additional defines 2015-01-02 15:36:29 +00:00
endian.h
exec.h
fdt.h Remove bus space fdt for MIPS. 2016-02-11 06:19:32 +00:00
float.h Rationalize BSD license on sys/*/include/float.h 2015-08-05 17:05:35 +00:00
floatingpoint.h
fls64.h
fpu.h
frame.h
gdb_machdep.h
hwfunc.h
ieee.h
ieeefp.h
in_cksum.h Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
intr_machdep.h Increment the vm stats "v_intr" counter so the global system interrupt 2015-05-16 23:51:24 +00:00
intr.h Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine 2016-04-15 16:05:41 +00:00
kdb.h
limits.h
locore.h
md_var.h Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
memdev.h
metadata.h
minidump.h
mips_opcode.h
octeon_cop2.h
ofw_machdep.h Tidy up mips ofw_machdep.h. Don't include openfirm.h because openfirm.h 2015-12-20 19:09:12 +00:00
param.h When attempting to satisfy mmap() requests for superpage alignment on 2016-04-30 19:29:03 +00:00
pcb.h
pcpu.h Similarly to other architecture, add the include for cpufunc.h which is 2015-05-28 12:33:21 +00:00
pmap.h Introduce a new mechanism for relocating virtual pages to a new physical 2015-12-19 18:42:50 +00:00
pmc_mdep.h
proc.h
profile.h
pte.h [mips] Add TLB pagemask probing code, and print out the allowable page sizes. 2015-12-22 15:59:41 +00:00
ptrace.h
reg.h Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h> 2015-04-08 16:30:45 +00:00
regdef.h
regnum.h
reloc.h
resource.h Define PCI_RES_BUS for MIPS. 2016-04-12 07:18:48 +00:00
runq.h
sc_machdep.h
setjmp.h
sf_buf.h style(9) 2014-09-07 05:47:48 +00:00
sigframe.h
signal.h
smp.h Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine 2016-04-15 16:05:41 +00:00
stdarg.h
sysarch.h
tlb.h
tls.h
trap.h
ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
varargs.h
vdso.h
vm.h
vmparam.h Retire VM_FREEPOOL_CACHE as the next step in eliminating PG_CACHE pages. 2015-06-08 04:59:32 +00:00