1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/powerpc
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
..
aim Replace the list of PVOs owned by each PMAP with an RB tree. This simplifies 2012-05-20 14:33:28 +00:00
booke Finally, try to enable the nxstacks on amd64 and powerpc64 for both 64bit 2012-01-30 07:56:00 +00:00
compile
conf Remove pty(4) from our kernel configurations. 2012-03-21 08:38:42 +00:00
cpufreq
fpu Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
include Fix the memory barriers for CPUs that do not like lwsync and wedge or cause 2012-05-24 20:45:44 +00:00
mambo kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
mpc85xx Fix missing header for powerpc_iomb(). 2012-04-23 15:47:07 +00:00
ofw Make ofw_bus_get_node() consistently return -1 when there is no associated 2012-03-15 22:53:39 +00:00
powermac Provide a fix for certain PowerMacs where the U3 i2c lacks the interrupt 2012-03-19 18:03:20 +00:00
powerpc Replace the list of PVOs owned by each PMAP with an RB tree. This simplifies 2012-05-20 14:33:28 +00:00
ps3 - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
psim