summaryrefslogtreecommitdiff
path: root/sys/arch/atari/include
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2000-06-26 04:55:19 +0000
committersimonb <simonb@NetBSD.org>2000-06-26 04:55:19 +0000
commit889c658b5bade4e72ee61a17ccc6b886541a16ee (patch)
tree0f00804a921864ab4d9f6ef08d469cbdc9a9cf33 /sys/arch/atari/include
parent472221aa398d2e7677796734a88fde50951e3ebc (diff)
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t". Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
Diffstat (limited to 'sys/arch/atari/include')
-rw-r--r--sys/arch/atari/include/bus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/include/bus.h b/sys/arch/atari/include/bus.h
index 25b65fdbfa0..ccec40c6f68 100644
--- a/sys/arch/atari/include/bus.h
+++ b/sys/arch/atari/include/bus.h
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.22 2000/04/11 07:12:47 leo Exp $ */
+/* $NetBSD: bus.h,v 1.23 2000/06/26 04:55:34 simonb Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -616,7 +616,7 @@ int bus_dmamem_map __P((bus_dma_tag_t tag, bus_dma_segment_t *segs,
int nsegs, size_t size, caddr_t *kvap, int flags));
void bus_dmamem_unmap __P((bus_dma_tag_t tag, caddr_t kva,
size_t size));
-int bus_dmamem_mmap __P((bus_dma_tag_t tag, bus_dma_segment_t *segs,
- int nsegs, int off, int prot, int flags));
+paddr_t bus_dmamem_mmap __P((bus_dma_tag_t tag, bus_dma_segment_t *segs,
+ int nsegs, off_t off, int prot, int flags));
#endif /* _ATARI_BUS_H_ */