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/mvme68k/include/bus.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/mvme68k/include') diff --git a/sys/arch/mvme68k/include/bus.h b/sys/arch/mvme68k/include/bus.h index 54d1857cbdc..ffe84c7fa8e 100644 --- a/sys/arch/mvme68k/include/bus.h +++ b/sys/arch/mvme68k/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.4 2009/05/31 17:42:13 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.5 2009/07/26 18:48:55 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * @@ -57,8 +57,9 @@ typedef const struct mvme68k_bus_space_tag *bus_space_tag_t; #define BUS_SPACE_BARRIER_READ 0 #define BUS_SPACE_BARRIER_WRITE 1 -#define BUS_SPACE_MAP_CACHEABLE 0x01 -#define BUS_SPACE_MAP_LINEAR 0x02 +#define BUS_SPACE_MAP_CACHEABLE 0x01 +#define BUS_SPACE_MAP_LINEAR 0x02 +#define BUS_SPACE_MAP_PREFETCHABLE 0x04 /* * General bus_space function set -- cgit v1.2.3