Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/dev We can mmap frame buffer. Sorry, we had...
details: https://anonhg.NetBSD.org/src/rev/1faa20f2f428
branches: trunk
changeset: 480153:1faa20f2f428
user: takemura <takemura%NetBSD.org@localhost>
date: Wed Jan 05 15:12:42 2000 +0000
description:
We can mmap frame buffer. Sorry, we had not been able to map it.
diffstat:
sys/arch/hpcmips/dev/fb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e66103d93f4e -r 1faa20f2f428 sys/arch/hpcmips/dev/fb.c
--- a/sys/arch/hpcmips/dev/fb.c Wed Jan 05 14:40:14 2000 +0000
+++ b/sys/arch/hpcmips/dev/fb.c Wed Jan 05 15:12:42 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fb.c,v 1.11 1999/12/16 09:46:56 sato Exp $ */
+/* $NetBSD: fb.c,v 1.12 2000/01/05 15:12:42 takemura Exp $ */
/*-
* Copyright (c) 1999
@@ -67,7 +67,7 @@
static const char _copyright[] __attribute__ ((unused)) =
"Copyright (c) 1999 Shin Takemura. All rights reserved.";
static const char _rcsid[] __attribute__ ((unused)) =
- "$Id: fb.c,v 1.11 1999/12/16 09:46:56 sato Exp $";
+ "$Id: fb.c,v 1.12 2000/01/05 15:12:42 takemura Exp $";
#include <sys/param.h>
@@ -486,7 +486,7 @@
if (offset >= (dc->dc_rowbytes * dc->dc_height) || offset < 0)
return -1;
- return dc->dc_fbaddr + offset;
+ return mips_btop(dc->dc_fbaddr + offset);
}
int
Home |
Main Index |
Thread Index |
Old Index