diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-06-23 20:32:24 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-06-23 20:32:24 +0000 |
commit | c341baf40da3a1b8d2a56f6d6cad071561c384ee (patch) | |
tree | 198c16a9a657fadac3638d11c28b1b5e9425a2c9 | |
parent | 2e9cfda41b5e30a35dd0d07f645b571e7ed42b6f (diff) |
*_raw_*_1() functions do not exist
-rw-r--r-- | sys/arch/sparc/include/bus.h | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/sys/arch/sparc/include/bus.h b/sys/arch/sparc/include/bus.h index f78c34315a1..7ccfba96cd5 100644 --- a/sys/arch/sparc/include/bus.h +++ b/sys/arch/sparc/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.1 2003/06/23 09:24:58 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.2 2003/06/23 20:32:23 mickey Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * @@ -160,17 +160,6 @@ bus_space_read_multi_4(bus_space_tag_t tag, bus_space_handle_t handle, *dest++ = bus_space_read_4(tag, handle, offset); } -static void bus_space_read_raw_multi_1(bus_space_tag_t, bus_space_handle_t, - bus_addr_t, u_int8_t *, size_t); - -static __inline__ void -bus_space_read_raw_multi_1(bus_space_tag_t tag, bus_space_handle_t handle, - bus_addr_t offset, u_int8_t *dest, size_t size) -{ - while ((int)--size >= 0) - *dest++ = bus_space_read_1(tag, handle, offset); -} - static void bus_space_read_raw_multi_2(bus_space_tag_t, bus_space_handle_t, bus_addr_t, u_int8_t *, size_t); @@ -241,17 +230,6 @@ bus_space_write_multi_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_space_write_4(tag, handle, offset, *dest); } -static void bus_space_write_raw_multi_1(bus_space_tag_t, bus_space_handle_t, - bus_addr_t, u_int8_t *, size_t); - -static __inline__ void -bus_space_write_raw_multi_1(bus_space_tag_t tag, bus_space_handle_t handle, - bus_addr_t offset, u_int8_t *dest, size_t size) -{ - while ((int)--size >= 0) - bus_space_write_1(tag, handle, offset, *dest++); -} - static void bus_space_write_raw_multi_2(bus_space_tag_t, bus_space_handle_t, bus_addr_t, u_int8_t *, size_t); @@ -350,17 +328,6 @@ bus_space_write_region_4(bus_space_tag_t tag, bus_space_handle_t handle, } } -static void bus_space_write_raw_region_1(bus_space_tag_t, bus_space_handle_t, - bus_addr_t, u_int8_t *, size_t); - -static __inline__ void -bus_space_write_raw_region_1(bus_space_tag_t tag, bus_space_handle_t handle, - bus_addr_t offset, u_int8_t *dest, size_t size) -{ - while ((int)--size >= 0) - bus_space_write_1(tag, handle, offset++, *dest++); -} - static void bus_space_write_raw_region_2(bus_space_tag_t, bus_space_handle_t, bus_addr_t, u_int8_t *, size_t); @@ -465,17 +432,6 @@ bus_space_set_region_4(bus_space_tag_t tag, bus_space_handle_t handle, } } -static void bus_space_read_raw_region_1(bus_space_tag_t, bus_space_handle_t, - bus_addr_t, u_int8_t *, size_t); - -static __inline__ void -bus_space_read_raw_region_1(bus_space_tag_t tag, bus_space_handle_t handle, - bus_addr_t offset, u_int8_t *dest, size_t size) -{ - while ((int)--size >= 0) - *dest++ = bus_space_read_1(tag, handle, offset++); -} - static void bus_space_read_raw_region_2(bus_space_tag_t, bus_space_handle_t, bus_addr_t, u_int8_t *, size_t); |