Home | History | Annotate | Line # | Download | only in uvm
uvm_aobj.h revision 1.4
      1 /*	$NetBSD: uvm_aobj.h,v 1.4 1998/02/07 11:08:14 mrg Exp $	*/
      2 
      3 /* copyright here */
      4 /*
      5  * from: Id: uvm_aobj.h,v 1.1.2.4 1998/02/06 05:19:28 chs Exp
      6  */
      7 
      8 /*
      9  * uvm_aobj.h
     10  *
     11  * anonymous memory uvm_object
     12  */
     13 
     14 #ifndef UVM_UVM_AOBJ_H
     15 #define UVM_UVM_AOBJ_H
     16 
     17 /*
     18  * flags
     19  */
     20 
     21 /* flags for uao_create: can only be used one time (at bootup) */
     22 #define UAO_FLAG_KERNOBJ	0x1	/* create kernel object */
     23 #define UAO_FLAG_KERNSWAP	0x2	/* enable kernel swap */
     24 
     25 /* internal flags */
     26 #define UAO_FLAG_KILLME		0x4	/* aobj should die when last released
     27 					 * page is no longer PG_BUSY ... */
     28 #define UAO_FLAG_NOSWAP		0x8	/* aobj can't swap (kernel obj only!) */
     29 
     30 /*
     31  * prototypes
     32  */
     33 
     34 int uao_set_swslot __P((struct uvm_object *, int, int));
     35 
     36 /*
     37  * globals
     38  */
     39 
     40 extern struct uvm_pagerops aobj_pager;
     41 
     42 #endif
     43