freebsd-dev/sys/amd64
jhb 3d9895e689 - Expand the set of atomic operations to optionally include memory barriers
in most of the atomic operations.  Now for these operations, you can
  use the normal atomic operation, you can use the operation with a read
  barrier, or you can use the operation with a write barrier.  The function
  names follow the same semantics used in the ia64 instruction set.  An
  atomic operation with a read barrier has the extra suffix 'acq', due to
  it having "acquire" semantics.  An atomic operation with a write barrier
  has the extra suffix 'rel'.  These suffixes are inserted between the
  name of the operation to perform and the typename.  For example, the
  atomic_add_int() function now has 3 variants:
  - atomic_add_int() - this is the same as the previous function
  - atomic_add_acq_int() - this function combines the add operation with a
    read memory barrier
  - atomic_add_rel_int() - this function combines the add operation with a
    write memory barrier
- Add 'ptr' to the list of types that we can perform atomic operations
  on.  This allows one to do atomic operations on uintptr_t's.  This is
  useful in the mutex code, for example, because the actual mutex lock is
  a pointer.
- Add two new operations for doing loads and stores with memory barriers.
  The new load operations use a read barrier before the load, and the
  new store operations use a write barrier after the load.  For example,
  atomic_load_acq_int() will atomically load an integer as well as
  enforcing a read barrier.
2000-10-20 07:00:48 +00:00
..
amd64 Convert the type of bus_space_handle_t of pc98 from structure into 2000-10-20 02:42:06 +00:00
conf Bring the 'twe' driver back now that we think it should work. 2000-10-12 01:46:43 +00:00
include - Expand the set of atomic operations to optionally include memory barriers 2000-10-20 07:00:48 +00:00
isa Convert the type of bus_space_handle_t of pc98 from structure into 2000-10-20 02:42:06 +00:00
pci Call the BIOS to route the selected interrupt. Correctly calculate the 2000-10-19 08:06:50 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00