From c341baf40da3a1b8d2a56f6d6cad071561c384ee Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 23 Jun 2003 20:32:24 +0000 Subject: *_raw_*_1() functions do not exist --- sys/arch/sparc/include/bus.h | 46 +------------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) (limited to 'sys/arch') 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); -- cgit v1.2.3