diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-01 12:13:48 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-01 12:13:48 +0000 |
commit | d5cc9696a2b0e4aab5c615d0009f9ab5030bbcaa (patch) | |
tree | 9a94822b0c5101e2ea8729a3c2885a26f42e1493 /sys/arch/sparc64 | |
parent | 9dcaf3656438ee022f80bec8c3b7b7d5d3765802 (diff) |
Change d_mmap in struct cdevsw from:
int (*d_mmap) __P((dev_t, int, int));
to:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
This allows us to mmap devices past 4GB offsets.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/mem.c b/sys/arch/sparc64/sparc64/mem.c index c6f8c040f0f..17f8ae8bf46 100644 --- a/sys/arch/sparc64/sparc64/mem.c +++ b/sys/arch/sparc64/sparc64/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.3 2001/08/20 20:23:53 jason Exp $ */ +/* $OpenBSD: mem.c,v 1.4 2001/11/01 12:13:46 art Exp $ */ /* $NetBSD: mem.c,v 1.18 2001/04/24 04:31:12 thorpej Exp $ */ /* @@ -266,10 +266,10 @@ unlock: return (error); } -int +paddr_t mmmmap(dev, off, prot) dev_t dev; - int off; + off_t off; int prot; { |