freebsd-skq/sys/pc98
Jung-uk Kim d521c6b9c4 Implement atomic_load_acq_64(9) and atomic_store_rel_64(9) for i386. These
functions are implemented with CMPXCHG8B instruction where it is available,
i. e., all Pentium-class and later processors.  Note this instruction is
also used for atomic_store_rel_64() because a simple XCHG-like instruction
for 64-bit memory access does not exist, unfortunately.  If the processor
lacks the instruction, i. e., 80486-class CPUs, two 32-bit load/store are
performed with interrupt temporarily disabled, assuming it does not support
SMP.  Although this assumption may be little naive, it is true in reality.
This implementation is inspired by Linux.
2011-04-06 23:59:59 +00:00
..
apm
cbus Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
compile
conf Break out the ath PCI logic into a separate device/module. 2011-03-31 08:07:13 +00:00
include Copy powerpc/include/_inttypes.h to x86 and replace i386/amd64/pc98 2011-01-08 18:09:48 +00:00
linux
pc98 Implement atomic_load_acq_64(9) and atomic_store_rel_64(9) for i386. These 2011-04-06 23:59:59 +00:00