diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-04 12:49:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-04 12:49:31 +0000 |
commit | 2370c66ed9b4927257472417cf83e3027a8509c6 (patch) | |
tree | 8d2176746df1edb17a844f0569acffc2751d4904 /sys/arch/amd64/include | |
parent | 803c01a401b2c48ee9649632aa98b5873d6cea6f (diff) |
OpenBSD uses bus_space_copy_#, not bus_space_copy_region_#. Make sure only the
first name is used, and remove any #define foo_region foo compatibility
defines.
Also, on sparc64, do not provide a `raw' version of bus_space_copy.
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/bus.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/arch/amd64/include/bus.h b/sys/arch/amd64/include/bus.h index 6f97985ea22..7e280528b98 100644 --- a/sys/arch/amd64/include/bus.h +++ b/sys/arch/amd64/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.21 2009/07/30 21:39:15 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.22 2010/04/04 12:49:30 miod Exp $ */ /* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */ /*- @@ -392,16 +392,11 @@ void bus_space_set_region_4(bus_space_tag_t, bus_space_handle_t, * at tag/bsh1/off1 to bus space starting at tag/bsh2/off2. */ -#define bus_space_copy_1 bus_space_copy_region_1 -#define bus_space_copy_2 bus_space_copy_region_2 -#define bus_space_copy_4 bus_space_copy_region_4 -#define bus_space_copy_8 bus_space_copy_region_8 - -void bus_space_copy_region_1(bus_space_tag_t, bus_space_handle_t, +void bus_space_copy_1(bus_space_tag_t, bus_space_handle_t, bus_size_t, bus_space_handle_t, bus_size_t, size_t); -void bus_space_copy_region_2(bus_space_tag_t, bus_space_handle_t, +void bus_space_copy_2(bus_space_tag_t, bus_space_handle_t, bus_size_t, bus_space_handle_t, bus_size_t, size_t); -void bus_space_copy_region_4(bus_space_tag_t, bus_space_handle_t, +void bus_space_copy_4(bus_space_tag_t, bus_space_handle_t, bus_size_t, bus_space_handle_t, bus_size_t, size_t); #if 0 /* Cause a link error for bus_space_copy_8 */ |