freebsd-skq/sys/arm/include
Ian Lepore 4098ccafa4 Revise the arm bus_space implementation to avoid dereferencing the tag on
every operation to retrieve the bs_cookie value almost nothing actually uses.

The bus_space struct contains a private data pointer (poorly named bs_cookie,
now renamed to bs_privdata) which is used only by a few old armv4 xscale
implementations.  The bus_space functions were all defined to take this
value as the first parameter instead of the bus_space_tag_t, requiring all
the inline macro and function expansions to dereference the tag to pass it
to another function, which never uses it.  Now all the functions take the tag
as the first parameter and retrieve the privdata if they need it.

Also fix a couple bus_space_unmap() implementations that were calling
kva_free() instead of pmap_unmapdev().

Discussed with:	   cognet
2015-01-21 01:06:08 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
acle-compat.h From https://sourceware.org/ml/newlib/2014/msg00113.html 2014-08-14 04:20:13 +00:00
armreg.h Correct cpu type, it was rather Cortex A12 R0. 2015-01-14 01:23:50 +00:00
asm.h Fix alignment directives in arm asm code after clang 3.5 import. 2015-01-02 23:46:26 +00:00
asmacros.h opt_global.h is included automatically in the build. No need to 2014-11-18 17:06:56 +00:00
at91_gpio.h
atags.h
atomic.h Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
blockio.h
board.h
bootconfig.h
bus_dma.h
bus.h Revise the arm bus_space implementation to avoid dereferencing the tag on 2015-01-21 01:06:08 +00:00
clock.h
counter.h Use atomic_load/store_64() in the arm implementation of counter(9), and 2014-08-01 23:06:38 +00:00
cpu-v6.h Add the User and PL1 read only and reqd write thread ID registers. 2015-01-20 11:11:32 +00:00
cpu.h Move the inclusion of cpu-v6.h inside the #ifdef _KERNEL block, so that 2015-01-08 03:59:03 +00:00
cpuconf.h Revert a glitched mismerge that got caught up in the prior commit. 2014-12-24 03:09:55 +00:00
cpufunc.h Eliminate an unused macro whose name clashes now with a function in the 2014-12-28 18:26:15 +00:00
cpuinfo.h Add new code to read and parse cpu identification data using the new CPUID 2014-12-28 18:12:56 +00:00
db_machdep.h Cleanup up ARM *frame structures... 2014-12-24 18:54:31 +00:00
devmap.h Fix a comment s/initarm_/platform_/ 2014-05-17 11:29:44 +00:00
disassem.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
fiq.h
float.h
floatingpoint.h
fp.h VFP fixes/cleanups for ARM11: 2014-03-29 14:35:36 +00:00
frame.h Cleanup up ARM *frame structures... 2014-12-24 18:54:31 +00:00
gdb_machdep.h
ieee.h
ieeefp.h
in_cksum.h
intr.h Rename gic_init_secondary to arm_init_secondary_ic to help with the merge 2015-01-11 16:46:43 +00:00
katelib.h
kdb.h Remove cpu_idcache_wbinv_all() from kdb_cpu_trap(), it's no longer needed. 2014-04-27 18:12:55 +00:00
limits.h
machdep.h For data and instruction prefetch aborts, call the same handler in the C 2014-12-25 17:06:58 +00:00
md_var.h Pass up the error status of minidumpsys() to its callers. 2014-10-08 20:25:21 +00:00
memdev.h
metadata.h
minidump.h
ofw_machdep.h
param.h Add fueword(9) and casueword(9) functions. They are like fuword(9) 2014-10-28 15:22:13 +00:00
pcb.h Cleanup up ARM *frame structures... 2014-12-24 18:54:31 +00:00
pcpu.h Rework the VFP code that handles demand-based save and restore of state. 2014-03-09 03:00:03 +00:00
physmem.h
pl310.h Set the pl310 L2 cache driver to attach during the middle of BUS_PASS_CPU. 2014-08-05 17:39:58 +00:00
platform.h When the initarm_* routines were renamed to platform_* and moved to their 2014-08-17 02:56:58 +00:00
platformvar.h Add FDT_PLATFORM_DEF2 for when there are multiple platforms needing to use 2014-05-17 18:02:46 +00:00
pmap.h Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the 2014-09-11 10:53:57 +00:00
pmc_mdep.h
proc.h Add a new trap-v6.c which has support for all armv7 exceptions. This 2015-01-03 22:33:18 +00:00
profile.h Fix alignment directives in arm asm code after clang 3.5 import. 2015-01-02 23:46:26 +00:00
psl.h
pte.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h Merge all MD sf_buf allocators into one MI, residing in kern/subr_sfbuf.c 2014-08-05 09:44:10 +00:00
sigframe.h
signal.h
smp.h Rename pic_ipi_get to pic_ipi_read for intrng. 2014-12-24 15:25:18 +00:00
stack.h
stdarg.h
swi.h
sysarch.h Remove #include <machine/asmacros.h> from files that don't need it. 2014-03-11 22:47:04 +00:00
sysreg.h Add accessors for the ARM CP15 performance monitor registers. Also ensure 2015-01-08 01:28:46 +00:00
trap.h
ucontext.h Remove NetBSD implementation details not relevant to FreeBSD. 2014-05-23 00:21:02 +00:00
undefined.h
utrap.h
vdso.h
vfp.h Add more flags for the fpexc register from the ARM1176JZF-S Manual 2014-03-29 10:11:19 +00:00
vm.h
vmparam.h Merge all MD sf_buf allocators into one MI, residing in kern/subr_sfbuf.c 2014-08-05 09:44:10 +00:00