diff options
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r-- | sys/arch/amiga/amiga/mem.c | 8 | ||||
-rw-r--r-- | sys/arch/amiga/dev/grf.c | 7 | ||||
-rw-r--r-- | sys/arch/amiga/dev/view.c | 7 |
3 files changed, 12 insertions, 10 deletions
diff --git a/sys/arch/amiga/amiga/mem.c b/sys/arch/amiga/amiga/mem.c index bc83cdfba96..d5ba3c6d83c 100644 --- a/sys/arch/amiga/amiga/mem.c +++ b/sys/arch/amiga/amiga/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.14 2001/07/25 13:25:31 art Exp $ */ +/* $OpenBSD: mem.c,v 1.15 2001/11/01 12:13:45 art Exp $ */ /* $NetBSD: mem.c,v 1.18 1997/02/02 07:17:14 thorpej Exp $ */ /* @@ -65,7 +65,7 @@ caddr_t devzeropage; int mmopen __P((dev_t, int, int, struct proc *)); int mmclose __P((dev_t, int, int, struct proc *)); int mmrw __P((dev_t, struct uio *, int)); -int mmmmap __P((dev_t, int, int)); +paddr_t mmmmap __P((dev_t, off_t, int)); int mmioctl __P((dev_t, u_long, caddr_t, int, struct proc *)); /*ARGSUSED*/ @@ -239,10 +239,10 @@ unlock: return (error); } -int +paddr_t mmmmap(dev, off, prot) dev_t dev; - int off; + off_t off; int prot; { return (-1); diff --git a/sys/arch/amiga/dev/grf.c b/sys/arch/amiga/dev/grf.c index 29fe4a7e4b6..1210e75ffb0 100644 --- a/sys/arch/amiga/dev/grf.c +++ b/sys/arch/amiga/dev/grf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf.c,v 1.11 2001/09/11 20:05:20 miod Exp $ */ +/* $OpenBSD: grf.c,v 1.12 2001/11/01 12:13:45 art Exp $ */ /* $NetBSD: grf.c,v 1.32 1996/12/23 09:10:01 veego Exp $ */ /* @@ -314,10 +314,11 @@ grfselect(dev, rw, p) * map the contents of a graphics display card into process' * memory space. */ -int +paddr_t grfmmap(dev, off, prot) dev_t dev; - int off, prot; + off_t off + int prot; { struct grf_softc *gp; struct grfinfo *gi; diff --git a/sys/arch/amiga/dev/view.c b/sys/arch/amiga/dev/view.c index bc29ae7b157..0d2d6d3657d 100644 --- a/sys/arch/amiga/dev/view.c +++ b/sys/arch/amiga/dev/view.c @@ -1,4 +1,4 @@ -/* $OpenBSD: view.c,v 1.4 2001/05/16 12:49:44 ho Exp $ */ +/* $OpenBSD: view.c,v 1.5 2001/11/01 12:13:45 art Exp $ */ /* $NetBSD: view.c,v 1.16 1996/10/13 03:07:35 christos Exp $ */ /* @@ -386,10 +386,11 @@ view_set_colormap(vu, ucm) } /*ARGSUSED*/ -int +paddr_t viewmmap(dev, off, prot) dev_t dev; - int off, prot; + off_t off; + int prot; { struct view_softc *vu; bmap_t *bm; |