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/moko | |
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/moko')
-rw-r--r-- | sys/arch/moko/moko/moko_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/moko/moko/moko_machdep.c b/sys/arch/moko/moko/moko_machdep.c index b1c13a457e1..d4bc8509407 100644 --- a/sys/arch/moko/moko/moko_machdep.c +++ b/sys/arch/moko/moko/moko_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moko_machdep.c,v 1.3 2009/01/02 06:38:25 drahn Exp $ */ +/* $OpenBSD: moko_machdep.c,v 1.4 2009/07/26 18:48:55 miod Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -428,7 +428,7 @@ static vaddr_t section_free = MOKO_VBASE_FREE; static 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; |