summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-20 06:45:48 +0000
committerjhb <jhb@FreeBSD.org>2000-10-20 06:45:48 +0000
commit16168b364a2ba06b962dc30e7a667864b5900d63 (patch)
tree0930f871956c8a415441aee1aa9d4c7c253ae468 /sys/alpha/include
parent9ee7a66d3e2e71817788cf4b6bd57e8ca6f6d511 (diff)
downloadFreeBSD-src-16168b364a2ba06b962dc30e7a667864b5900d63.zip
FreeBSD-src-16168b364a2ba06b962dc30e7a667864b5900d63.tar.gz
Axe the barrier_{read,write,rw}() helper functions as this method of
doing memory barriers doesn't really scale well for the ia64. Also, memory barriers are more a property of the CPU than bus space. Requested by: dfr
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/bus.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/alpha/include/bus.h b/sys/alpha/include/bus.h
index 1810c4b..7fe2726 100644
--- a/sys/alpha/include/bus.h
+++ b/sys/alpha/include/bus.h
@@ -364,18 +364,6 @@ void busspace_generic_barrier(struct alpha_busspace *space,
#define bus_space_barrier(t, h, o, l, f) \
(t)->ab_ops->abo_barrier(t, (h)+(o), l, f)
-#define barrier_read \
- bus_space_barrier(busspace_isa_mem, 0, BUS_SPACE_UNRESTRICTED, \
- BUS_SPACE_BARRIER_READ)
-
-#define barrier_write \
- bus_space_barrier(busspace_isa_mem, 0, BUS_SPACE_UNRESTRICTED, \
- BUS_SPACE_BARRIER_WRITE)
-
-#define barrier_rw \
- bus_space_barrier(busspace_isa_mem, 0, BUS_SPACE_UNRESTRICTED, \
- BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE)
-
/*
* Flags used in various bus DMA methods.
*/
OpenPOWER on IntegriCloud