Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/m68k vm_offset_t -> vaddr_t or paddr_t, as app...



details:   https://anonhg.NetBSD.org/src/rev/16afe6083c23
branches:  trunk
changeset: 476709:16afe6083c23
user:      is <is%NetBSD.org@localhost>
date:      Sat Sep 25 21:19:48 1999 +0000

description:
vm_offset_t -> vaddr_t or paddr_t, as appropriate.

diffstat:

 sys/arch/m68k/m68k/mappedcopy.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (49 lines):

diff -r 5798b8d4ee3d -r 16afe6083c23 sys/arch/m68k/m68k/mappedcopy.c
--- a/sys/arch/m68k/m68k/mappedcopy.c   Sat Sep 25 21:18:02 1999 +0000
+++ b/sys/arch/m68k/m68k/mappedcopy.c   Sat Sep 25 21:19:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mappedcopy.c,v 1.7 1999/08/05 14:57:38 minoura Exp $   */
+/*     $NetBSD: mappedcopy.c,v 1.8 1999/09/25 21:19:48 is Exp $        */
 
 /*
  * XXX This doesn't work yet.  Soon.  --thorpej%netbsd.org@localhost
@@ -82,8 +82,8 @@
        register size_t count;
 {
        register caddr_t fromp = f, top = t;
-       register vm_offset_t kva;
-       vm_offset_t upa;
+       register vaddr_t kva;
+       paddr_t upa;
        register size_t len;
        int off, alignable;
        pmap_t upmap;
@@ -99,7 +99,7 @@
        if (CADDR1 == 0)
                CADDR1 = (caddr_t) uvm_km_valloc(kernel_map, NBPG);
 
-       kva = (vm_offset_t)CADDR1;
+       kva = (vaddr_t)CADDR1;
        off = (int)((u_long)fromp & PAGE_MASK);
        alignable = (off == ((u_long)top & PAGE_MASK));
        upmap = vm_map_pmap(&curproc->p_vmspace->vm_map);
@@ -138,8 +138,8 @@
        register size_t count;
 {
        register caddr_t fromp = f, top = t;
-       register vm_offset_t kva;
-       vm_offset_t upa;
+       register vaddr_t kva;
+       paddr_t upa;
        register size_t len;
        int off, alignable;
        pmap_t upmap;
@@ -155,7 +155,7 @@
        if (CADDR2 == 0)
                CADDR2 = (caddr_t) uvm_km_valloc(kernel_map, NBPG);
 
-       kva = (vm_offset_t) CADDR2;
+       kva = (vaddr_t) CADDR2;
        off = (int)((u_long)top & PAGE_MASK);
        alignable = (off == ((u_long)fromp & PAGE_MASK));
        upmap = vm_map_pmap(&curproc->p_vmspace->vm_map);



Home | Main Index | Thread Index | Old Index