Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm after discussion with chuck, nuke pgo_attach from uv...



details:   https://anonhg.NetBSD.org/src/rev/b6f4d6a20eff
branches:  trunk
changeset: 467388:b6f4d6a20eff
user:      cgd <cgd%NetBSD.org@localhost>
date:      Wed Mar 24 03:45:27 1999 +0000

description:
after discussion with chuck, nuke pgo_attach from uvm_pagerops

diffstat:

 sys/uvm/uvm_aobj.c   |  3 +--
 sys/uvm/uvm_device.c |  3 +--
 sys/uvm/uvm_km.c     |  3 +--
 sys/uvm/uvm_pager.h  |  4 +---
 sys/uvm/uvm_vnode.c  |  3 +--
 5 files changed, 5 insertions(+), 11 deletions(-)

diffs (86 lines):

diff -r 2507f2b920b6 -r b6f4d6a20eff sys/uvm/uvm_aobj.c
--- a/sys/uvm/uvm_aobj.c        Wed Mar 24 02:45:27 1999 +0000
+++ b/sys/uvm/uvm_aobj.c        Wed Mar 24 03:45:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_aobj.c,v 1.15 1998/10/18 23:49:59 chs Exp $        */
+/*     $NetBSD: uvm_aobj.c,v 1.16 1999/03/24 03:45:27 cgd Exp $        */
 
 /*
  * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!   
@@ -201,7 +201,6 @@
 
 struct uvm_pagerops aobj_pager = {
        uao_init,               /* init */
-       NULL,                   /* attach */
        uao_reference,          /* reference */
        uao_detach,             /* detach */
        NULL,                   /* fault */
diff -r 2507f2b920b6 -r b6f4d6a20eff sys/uvm/uvm_device.c
--- a/sys/uvm/uvm_device.c      Wed Mar 24 02:45:27 1999 +0000
+++ b/sys/uvm/uvm_device.c      Wed Mar 24 03:45:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_device.c,v 1.11 1998/11/19 05:23:26 mrg Exp $      */
+/*     $NetBSD: uvm_device.c,v 1.12 1999/03/24 03:45:27 cgd Exp $      */
 
 /*
  * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!   
@@ -93,7 +93,6 @@
 
 struct uvm_pagerops uvm_deviceops = {
        udv_init,
-       udv_attach,
        udv_reference,
        udv_detach,
        udv_fault,
diff -r 2507f2b920b6 -r b6f4d6a20eff sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c  Wed Mar 24 02:45:27 1999 +0000
+++ b/sys/uvm/uvm_km.c  Wed Mar 24 03:45:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_km.c,v 1.18 1998/10/18 23:49:59 chs Exp $  */
+/*     $NetBSD: uvm_km.c,v 1.19 1999/03/24 03:45:27 cgd Exp $  */
 
 /*
  * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!
@@ -179,7 +179,6 @@
 
 static struct uvm_pagerops km_pager = {
        NULL,   /* init */
-       NULL, /* attach */
        NULL, /* reference */
        NULL, /* detach */
        NULL, /* fault */
diff -r 2507f2b920b6 -r b6f4d6a20eff sys/uvm/uvm_pager.h
--- a/sys/uvm/uvm_pager.h       Wed Mar 24 02:45:27 1999 +0000
+++ b/sys/uvm/uvm_pager.h       Wed Mar 24 03:45:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pager.h,v 1.7 1998/08/13 02:11:03 eeh Exp $        */
+/*     $NetBSD: uvm_pager.h,v 1.8 1999/03/24 03:45:28 cgd Exp $        */
 
 /*
  * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!   
@@ -66,8 +66,6 @@
 
 struct uvm_pagerops {
        void            (*pgo_init) __P((void));/* init pager */
-       struct uvm_object * (*pgo_attach)       /* get uvm_object */
-                       __P((void *, vm_prot_t));
        void            (*pgo_reference)        /* add reference to obj */
                         __P((struct uvm_object *));            
        void                    (*pgo_detach)   /* drop reference to obj */
diff -r 2507f2b920b6 -r b6f4d6a20eff sys/uvm/uvm_vnode.c
--- a/sys/uvm/uvm_vnode.c       Wed Mar 24 02:45:27 1999 +0000
+++ b/sys/uvm/uvm_vnode.c       Wed Mar 24 03:45:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_vnode.c,v 1.19 1999/03/04 06:48:54 chs Exp $       */
+/*     $NetBSD: uvm_vnode.c,v 1.20 1999/03/24 03:45:28 cgd Exp $       */
 
 /*
  * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!   
@@ -120,7 +120,6 @@
 
 struct uvm_pagerops uvm_vnodeops = {
        uvn_init,
-       uvn_attach,
        uvn_reference,
        uvn_detach,
        NULL,                   /* no specialized fault routine required */



Home | Main Index | Thread Index | Old Index