diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-03-14 14:15:23 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-03-14 14:15:23 +0000 |
commit | 933496421a380ae4c4a51b9efe0992ad2845c801 (patch) | |
tree | 5f38b21ba4bfc88c10a13122a1a0fc4da66904df /sys/arch/mac68k/dev | |
parent | 6abc623185f505a4980059abbc75083c38a1099b (diff) |
Use macro to truncate page.
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/grf_iv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c index 41ad7c4d893..9a832b927eb 100644 --- a/sys/arch/mac68k/dev/grf_iv.c +++ b/sys/arch/mac68k/dev/grf_iv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_iv.c,v 1.9 1997/03/12 13:26:37 briggs Exp $ */ +/* $OpenBSD: grf_iv.c,v 1.10 1997/03/14 14:15:22 briggs Exp $ */ /* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */ /* @@ -139,7 +139,7 @@ grfiv_attach(parent, self, aux) gm->hres = 80; /* XXX Hack */ gm->vres = 80; /* XXX Hack */ gm->fbsize = gm->rowbytes * gm->height; - gm->fbbase = (caddr_t) (mac68k_vidlog & ~PGOFSET); + gm->fbbase = (caddr_t) mac68k_trunc_page(mac68k_vidlog); gm->fboff = mac68k_vidlog & PGOFSET; /* Perform common video attachment. */ |