freebsd-skq/sys/sparc64/include
kib c17f8bfdd5 Add the atomic_thread_fence() family of functions with intent to
provide a semantic defined by the C11 fences with corresponding
memory_order.

atomic_thread_fence_acq() gives r | r, w, where r and w are read and
write accesses, and | denotes the fence itself.

atomic_thread_fence_rel() is r, w | w.

atomic_thread_fence_acq_rel() is the combination of the acquire and
release in single operation.  Note that reads after the acq+rel fence
could be made visible before writes preceeding the fence.

atomic_thread_fence_seq_cst() orders all accesses before/after the
fence, and the fence itself is globally ordered against other
sequentially consistent atomic operations.

Reviewed by:	alc
Discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
2015-07-08 18:12:24 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h
asi.h
asm.h
asmacros.h
atomic.h Add the atomic_thread_fence() family of functions with intent to 2015-07-08 18:12:24 +00:00
bus_common.h
bus_dma.h
bus_private.h
bus.h
cache.h
ccr.h
clock.h
cmt.h
counter.h
cpu.h
cpufunc.h
db_machdep.h
dcr.h
dump.h
elf.h
endian.h
exec.h
fireplane.h
float.h
floatingpoint.h
fp.h
frame.h
fsr.h
gdb_machdep.h
idprom.h
ieee.h
ieeefp.h
in_cksum.h
instr.h
intr_machdep.h
iommureg.h
iommuvar.h
jbus.h
kdb.h
kerneldump.h
ktr.h
limits.h
lsu.h
mcntl.h
md_var.h
memdev.h
metadata.h
nexusvar.h
ofw_machdep.h
ofw_mem.h
ofw_nexus.h
param.h
pcb.h
pcpu.h
pmap.h
pmc_mdep.h
proc.h
profile.h
pstate.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h
stack.h
stdarg.h
sysarch.h
tick.h
tlb.h
trap.h
tsb.h
tstate.h
tte.h
ucontext.h
upa.h
utrap.h
varargs.h
vdso.h
ver.h
vm.h
vmparam.h
watch.h
wstate.h