1 /* $Id: uvm_aobj.h,v 1.1 1998/02/05 06:25:10 mrg Exp $ */ 2 3 /* copyright here */ 4 5 /* 6 * uvm_aobj.h 7 * 8 * anonymous memory uvm_object 9 */ 10 11 #ifndef UVM_UVM_AOBJ_H 12 #define UVM_UVM_AOBJ_H 13 14 /* 15 * flags 16 */ 17 18 /* flags for uao_create: can only be used one time (at bootup) */ 19 #define UAO_FLAG_KERNOBJ 0x1 /* create kernel object */ 20 #define UAO_FLAG_KERNSWAP 0x2 /* enable kernel swap */ 21 22 /* internal flags */ 23 #define UAO_FLAG_KILLME 0x4 /* aobj should die when last released 24 * page is no longer PG_BUSY ... */ 25 #define UAO_FLAG_NOSWAP 0x8 /* aobj can't swap (kernel obj only!) */ 26 27 /* 28 * prototypes 29 */ 30 31 int uao_set_swslot __P((struct uvm_object *, int, int)); 32 #endif 33