Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sun3/sun3x obio_find_mapping() takes PA. (missed in...



details:   https://anonhg.NetBSD.org/src/rev/39adb0318165
branches:  trunk
changeset: 514565:39adb0318165
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Sep 05 14:26:08 2001 +0000

description:
obio_find_mapping() takes PA. (missed in the previous commit)

diffstat:

 sys/arch/sun3/sun3x/obio.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 689767fb21d2 -r 39adb0318165 sys/arch/sun3/sun3x/obio.c
--- a/sys/arch/sun3/sun3x/obio.c        Wed Sep 05 14:18:10 2001 +0000
+++ b/sys/arch/sun3/sun3x/obio.c        Wed Sep 05 14:26:08 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio.c,v 1.13 2001/09/05 12:37:25 tsutsui Exp $        */
+/*     $NetBSD: obio.c,v 1.14 2001/09/05 14:26:08 tsutsui Exp $        */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -240,9 +240,10 @@
  * a mapping will have to be created.
  */
 caddr_t
-obio_find_mapping(int pa, int sz)
+obio_find_mapping(paddr_t pa, psize_t sz)
 {
-       int i, off;
+       int i;
+       vsize_t off;
 
        off = pa & PGOFSET;
        pa -= off;



Home | Main Index | Thread Index | Old Index