Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm change "uoff" to voff_t from vaddr_t as it's offset ...



details:   https://anonhg.NetBSD.org/src/rev/373f978b12a4
branches:  trunk
changeset: 538787:373f978b12a4
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Oct 30 05:24:33 2002 +0000

description:
change "uoff" to voff_t from vaddr_t as it's offset within uvm object.

fix PR/18855.

diffstat:

 sys/uvm/uvm_fault.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 6aaed3b8d7bc -r 373f978b12a4 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Wed Oct 30 02:48:28 2002 +0000
+++ b/sys/uvm/uvm_fault.c       Wed Oct 30 05:24:33 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.78 2002/09/02 21:09:50 thorpej Exp $   */
+/*     $NetBSD: uvm_fault.c,v 1.79 2002/10/30 05:24:33 yamt Exp $      */
 
 /*
  *
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.78 2002/09/02 21:09:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.79 2002/10/30 05:24:33 yamt Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -535,7 +535,8 @@
        vm_prot_t enter_prot, check_prot;
        boolean_t wired, narrow, promote, locked, shadowed, wire_fault, cow_now;
        int npages, nback, nforw, centeridx, error, lcv, gotpages;
-       vaddr_t startva, objaddr, currva, offset, uoff;
+       vaddr_t startva, objaddr, currva, offset;
+       voff_t uoff;
        paddr_t pa;
        struct vm_amap *amap;
        struct uvm_object *uobj;



Home | Main Index | Thread Index | Old Index