diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-26 18:48:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-26 18:48:56 +0000 |
commit | 7458aafff0569577b463f9c368e66cb25262aa6c (patch) | |
tree | 70cdb126d1cfdb8654412193beda18a7118700fc /sys/arch/arm/mainbus | |
parent | 7499c0ea68ce760474e8b4e98e74f2e0f120cc77 (diff) |
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.
Diffstat (limited to 'sys/arch/arm/mainbus')
-rw-r--r-- | sys/arch/arm/mainbus/mainbus_io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/mainbus/mainbus_io.c b/sys/arch/arm/mainbus/mainbus_io.c index b29fb574f95..494246376c2 100644 --- a/sys/arch/arm/mainbus/mainbus_io.c +++ b/sys/arch/arm/mainbus/mainbus_io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus_io.c,v 1.3 2007/05/25 16:45:59 krw Exp $ */ +/* $OpenBSD: mainbus_io.c,v 1.4 2009/07/26 18:48:55 miod Exp $ */ /* $NetBSD: mainbus_io.c,v 1.14 2003/12/06 22:05:33 bjh21 Exp $ */ /* @@ -174,12 +174,12 @@ mainbus_bs_map(t, bpa, size, flags, bshp) } int -mainbus_bs_alloc(t, rstart, rend, size, alignment, boundary, cacheable, +mainbus_bs_alloc(t, rstart, rend, size, alignment, boundary, flags, bpap, bshp) void *t; bus_addr_t rstart, rend; bus_size_t size, alignment, boundary; - int cacheable; + int flags; bus_addr_t *bpap; bus_space_handle_t *bshp; { |