diff options
| author | kent <kent@NetBSD.org> | 2003-01-28 01:07:51 +0000 |
|---|---|---|
| committer | kent <kent@NetBSD.org> | 2003-01-28 01:07:51 +0000 |
| commit | cd7d9faeaf3854b5db236bed3fcada463d795d26 (patch) | |
| tree | 88d17c406f3b25934dd0926548bfbfd7a621dbde /sys/arch/atari/include | |
| parent | 2dcac9e4eb67baa3de2a0a7954f1b500e2762194 (diff) | |
Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
Diffstat (limited to 'sys/arch/atari/include')
| -rw-r--r-- | sys/arch/atari/include/bus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/atari/include/bus.h b/sys/arch/atari/include/bus.h index 19740444302..72e8ebaa67f 100644 --- a/sys/arch/atari/include/bus.h +++ b/sys/arch/atari/include/bus.h @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.28 2002/01/07 07:17:17 thorpej Exp $ */ +/* $NetBSD: bus.h,v 1.29 2003/01/28 01:07:56 kent Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -557,6 +557,7 @@ paddr_t bus_space_mmap __P((bus_space_tag_t, bus_addr_t, off_t, #define BUS_DMA_BUS4 0x080 #define BUS_DMA_READ 0x100 /* mapping is device -> memory only */ #define BUS_DMA_WRITE 0x200 /* mapping is memory -> device only */ +#define BUS_DMA_NOCACHE 0x400 /* hint: map non-cached memory */ /* Forwards needed by prototypes below. */ struct mbuf; |
