freebsd-dev/sys/powerpc/include
Marcel Moolenaar df0bef25eb Fix the memory barriers for CPUs that do not like lwsync and wedge or cause
exceptions early enough during boot that the kernel will do ithe same.
Use lwsync only when compiling for LP64 and revert to the more proven isync
when compiling for ILP32. Note that in the end (i.e. between revision 222198
and this change) ILP32 changed from using sync to using isync. As per Nathan
the isync is needed to make sure I/O accesses are properly serialized with
locks and isync tends to be more effecient than sync.

While here, undefine __ATOMIC_ACQ and __ATOMIC_REL at the end of the file
so as not to leak their definitions.

Discussed with: nwhitehorn
2012-05-24 20:45:44 +00:00
..
_align.h MFppc64: 2010-07-13 05:32:19 +00:00
_bus.h MFppc64: 2010-07-13 05:32:19 +00:00
_inttypes.h White space changes to align comments. The mips and powerpc _inttypes.h 2011-01-08 18:02:46 +00:00
_limits.h On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than 2011-01-08 12:43:05 +00:00
_stdint.h Introduce internal macros for __U/INT64_C to define the U/INT64_MAX/MIN 2012-01-04 16:02:52 +00:00
_types.h Fix the value of float_t to match what is implied by FLT_EVAL_METHOD. 2012-01-16 20:17:51 +00:00
altivec.h Handle vector assist traps without a kernel panic, by setting denormalized 2010-10-05 18:08:07 +00:00
asm.h Restore proper dot symbol creation for assembly files in the kernel build case. 2012-03-04 11:55:28 +00:00
atomic.h Fix the memory barriers for CPUs that do not like lwsync and wedge or cause 2012-05-24 20:45:44 +00:00
bat.h
bus_dma.h Provide a simple IOMMU framework on PowerPC, which is required to support 2010-12-03 16:37:37 +00:00
bus.h Revert r216134. This checkin broke platforms where bus_space are macros: 2010-12-03 07:09:23 +00:00
clock.h
cpu.h Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +00:00
cpufunc.h Correctly specify assembler constrains for synchronization instructions. 2012-04-22 21:55:19 +00:00
db_machdep.h MFppc64: 2010-07-13 05:32:19 +00:00
dbdma.h
elf.h Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the 2011-01-07 14:22:34 +00:00
endian.h Add casts to __uint16_t to the __bswap16() macros on all arches which 2012-03-09 20:34:31 +00:00
exec.h
fdt.h Introduce macro FDT_MAP_IRQ to map from an interrupt controller and 2011-01-29 20:25:20 +00:00
float.h Add C11 macros describing subnormal numbers to float.h. 2012-01-23 06:36:41 +00:00
floatingpoint.h
fpu.h
frame.h Remove duplicate definition of FIRSTARG. 2011-03-17 19:44:00 +00:00
gdb_machdep.h
hid.h MFppc64: 2010-07-13 05:32:19 +00:00
ieee.h
ieeefp.h People porting FreeBSD to new architectures ought not have to 2011-10-21 06:41:46 +00:00
in_cksum.h
intr_machdep.h Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a 2011-02-02 05:58:51 +00:00
kdb.h
limits.h
md_var.h Update PowerPC event timer code to use new event timers infrastructure. 2010-09-11 04:45:51 +00:00
memdev.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
metadata.h Don't redefine MODINFOMD_BOOTINFO as MODINFOMD_DTBP. This 2011-01-15 20:18:08 +00:00
mmuvar.h Introduce inheritance into the PowerPC MMU kobj interface. 2010-09-15 00:17:52 +00:00
ofw_machdep.h Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
openpicreg.h
openpicvar.h Add the powerpc support. 2011-05-09 16:16:15 +00:00
param.h Add the possibility to specify from kernel configs MAXCPU value. 2011-07-19 00:37:24 +00:00
pcb.h Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00
pcpu.h Rework SLB trap handling so that double-faults into an SLB trap handler are 2012-01-15 00:08:14 +00:00
pio.h Fix final bugs in memory barriers on PowerPC: 2012-05-04 16:00:22 +00:00
platform.h Add some platform KOBJ extensions and continue integrating PowerPC 2010-11-12 04:18:19 +00:00
platformvar.h
pmap.h Replace the list of PVOs owned by each PMAP with an RB tree. This simplifies 2012-05-20 14:33:28 +00:00
pmc_mdep.h Add software PMC support. 2012-03-28 20:58:30 +00:00
proc.h Remove unused define. 2011-10-07 16:09:44 +00:00
profile.h Fix copy-and-paste error in r230400. 2012-04-23 20:53:50 +00:00
psl.h MFppc64: 2010-07-13 05:32:19 +00:00
pte.h Import support for the Sony Playstation 3 using the OtherOS feature 2011-01-06 04:12:29 +00:00
ptrace.h
reg.h MFppc64: 2010-07-13 05:32:19 +00:00
reloc.h
resource.h
rtas.h MFpseries: 2011-06-02 14:12:37 +00:00
runq.h MFppc64: 2010-07-13 05:32:19 +00:00
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
slb.h The POWER7 has only 32 SLB slots instead of 64, like other supported 2011-06-02 14:25:52 +00:00
smp.h Add the powerpc support. 2011-05-09 16:16:15 +00:00
spr.h Implement hwpmc counting PMC support for PowerPC G4+ (MPC745x/MPC744x). 2011-12-24 19:34:52 +00:00
sr.h Restructure the way the copyin/copyout segment is stored to prevent a 2010-10-30 23:07:30 +00:00
stack.h
stdarg.h
sysarch.h
tlb.h Use local TLB_UNLOCKED marker instead of MTX_UNOWNED for Book-E PowerPC trap 2010-11-11 13:35:23 +00:00
trap_aim.h Allow multiple inclusion of trap.h. This has always been broken, but 2012-03-29 02:02:14 +00:00
trap_booke.h Allow multiple inclusion of trap.h. This has always been broken, but 2012-03-29 02:02:14 +00:00
trap.h Allow multiple inclusion of trap.h. This has always been broken, but 2012-03-29 02:02:14 +00:00
ucontext.h Organize some members of ucontext_t in the same order they are in the 2012-04-21 14:39:47 +00:00
varargs.h
vm.h - Rename VM_MEMATTR_UNCACHED to VM_MEMATTR_WEAK_UNCACHEABLE on x86 to 2012-03-29 16:51:22 +00:00
vmparam.h Increase the available virtual address space for user programs on PowerPC 2011-12-11 17:23:03 +00:00