diff options
| author | drochner <drochner@NetBSD.org> | 2000-01-25 22:13:17 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2000-01-25 22:13:17 +0000 |
| commit | 8eb798e60318d2aa98f3cfb8bd76932f6a2c1ffe (patch) | |
| tree | dd36d2f83bee2cb559cbd1a382be4a64d3f0abda /sys/arch/macppc/include | |
| parent | 62fb37ba49fa1cae3d41fe28854911cfb6a25604 (diff) | |
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
Diffstat (limited to 'sys/arch/macppc/include')
| -rw-r--r-- | sys/arch/macppc/include/bus.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/macppc/include/bus.h b/sys/arch/macppc/include/bus.h index 411f3a31ce6..94e18276e48 100644 --- a/sys/arch/macppc/include/bus.h +++ b/sys/arch/macppc/include/bus.h @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.8 1999/06/18 04:49:25 cgd Exp $ */ +/* $NetBSD: bus.h,v 1.9 2000/01/25 22:13:22 drochner Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -105,8 +105,9 @@ typedef u_int32_t bus_space_handle_t; * Map a region of bus space. */ -#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 extern void * mapiodev __P((paddr_t, psize_t)); |
