freebsd-dev/sys/arm/include
Olivier Houchard f4c01f1508 Instead of using sysarch() to store-retrieve the tp, add a magic address,
ARM_TP_ADDRESS, where the tp will be stored. On CPUs that support it, a cache
line will be allocated and locked for this address, so that it will never go
to RAM. On CPUs that does not, a page is allocated for it (it will be a bit
slower, and is wrong for SMP, but should be fine for UP).
The tp is still stored in the mdthread struct, and at each context switch,
ARM_TP_ADDRESS gets updated.

Suggested by:   davidxu
2005-02-26 18:59:01 +00:00
..
_inttypes.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
_limits.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
_stdint.h <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is 2004-05-18 16:04:57 +00:00
_types.h Define __double_t and __float_t. 2004-05-04 22:16:29 +00:00
armreg.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
asm.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
asmacros.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
atomic.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
blockio.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
bootconfig.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
bus_memio.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
bus_pio.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
bus.h Add the prototype for bus_dmamap_load_mbuf_sg(). 2005-01-15 19:31:08 +00:00
clock.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
cpu.h Sort functions. 2005-02-01 06:36:27 +00:00
cpuconf.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
cpufunc.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
critical.h Correct typo in prior commit: s/cd/td/ 2004-07-27 19:44:08 +00:00
db_machdep.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
disassem.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
elf.h Add the Elf32_Auxinfo declaretion. 2004-05-04 22:21:36 +00:00
endian.h Start to support the big endian case as well. 2005-01-18 15:51:50 +00:00
exec.h Use a common multi-inclusion protection, and add such a 2005-02-19 21:16:48 +00:00
fiq.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
float.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
floatingpoint.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
fp.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
frame.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
ieee.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
ieeefp.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
in_cksum.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
intr.h Define NIRQ to 64 for CPU_ARM9, because Cirrus Logic EP93XX cores provides 2005-02-13 18:26:31 +00:00
katelib.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
kdb.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
limits.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
machdep.h Instead of using sysarch() to store-retrieve the tp, add a magic address, 2005-02-26 18:59:01 +00:00
md_var.h Declare sigcode and szsigcode. 2004-09-23 22:30:05 +00:00
memdev.h Import md bits for mem(4) on arm. 2004-11-07 23:01:36 +00:00
metadata.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
mutex.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
param.h Get the kernel stack right now that the u-area is gone. 2004-11-20 16:51:32 +00:00
pcb.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
pcpu.h Directly use __pcpu for PCPU_* instead of pcpup. 2004-11-04 19:19:44 +00:00
pmap.h Instead of using sysarch() to store-retrieve the tp, add a magic address, 2005-02-26 18:59:01 +00:00
proc.h Add the field in the md part of the struct thread required by ARM_[GET|SET]_TP. 2005-02-26 00:02:14 +00:00
profile.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
psl.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
pte.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
ptrace.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
reg.h Protect the function declarations with #ifdef _KERNEL. 2004-11-04 19:20:54 +00:00
reloc.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
resource.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
runq.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
setjmp.h Protect setjmp.h with #ifndef _MACHINE_SETJMP_H_. 2004-07-12 21:23:58 +00:00
sf_buf.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
sigframe.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
signal.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
smp.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
stdarg.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
swi.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
sysarch.h Instead of using sysarch() to store-retrieve the tp, add a magic address, 2005-02-26 18:59:01 +00:00
trap.h Add support for ptrace() and gdb breakpoints. 2005-01-10 22:43:16 +00:00
ucontext.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
undefined.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
utrap.h Import FreeBSD/arm kernel bits. 2004-05-14 11:46:45 +00:00
vmparam.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00