From 7458aafff0569577b463f9c368e66cb25262aa6c Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 26 Jul 2009 18:48:56 +0000 Subject: Make sure all platforms understand the flags argument of bus_space_map() and bus_space_alloc() as a bitmask of flags, and not a boolean controlling cacheability; and make sure the three MI BUS_SPACE_MAP_xxx values documented in the manual page are defined on all platforms as well. --- sys/arch/beagle/beagle/beagle_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/beagle') diff --git a/sys/arch/beagle/beagle/beagle_machdep.c b/sys/arch/beagle/beagle/beagle_machdep.c index 37053d50673..969a0db0fdc 100644 --- a/sys/arch/beagle/beagle/beagle_machdep.c +++ b/sys/arch/beagle/beagle/beagle_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: beagle_machdep.c,v 1.2 2009/05/24 21:05:30 drahn Exp $ */ +/* $OpenBSD: beagle_machdep.c,v 1.3 2009/07/26 18:48:55 miod Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -379,10 +379,10 @@ read_ttb(void) static vaddr_t section_free = 0xfd000000; /* XXX - huh */ int bootstrap_bs_map(void *t, bus_addr_t bpa, bus_size_t size, - int cacheable, bus_space_handle_t *bshp); + int flags, bus_space_handle_t *bshp); int bootstrap_bs_map(void *t, bus_addr_t bpa, bus_size_t size, - int cacheable, bus_space_handle_t *bshp) + int flags, bus_space_handle_t *bshp) { u_long startpa; vaddr_t va; -- cgit v1.2.3