/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	vm_lock.h,v $
 * Revision 1.1.2.2  92/02/26  15:54:37  Charles_Briggs
 * 	UBC merge.
 * 	[92/02/22  15:04:27  Charles_Briggs]
 * 
 * $EndLog$
 */
/*
 * @(#)$RCSfile: vm_lock.h,v $ $Revision: 1.1.2.2 $ (DEC) $Date: 92/02/26 15:54:37 $
 */
#ifndef	__VM_LOCK__
#define	__VM_LOCK__ 1

/*
 * lockvas functionality
 */

#define	VML_LOCK_ALL		0x01		/* lock all address space */
#define	VML_LOCK_RANGE		0x02		/* lock a range */
#define	VML_UNLOCK_ALL		0x04		/* unlock all address space */
#define	VML_UNLOCK_RANGE	0x08		/* unlock a range */
#define	VML_FUTURE		0x10		/* lock all future VAS exp */
#define	VML_NOFUTURE		0x20		/* disable future VAS lock */

#define	VML_LOCKMASK	(						\
			VML_LOCK_ALL			|		\
			VML_LOCK_RANGE			|		\
			VML_UNLOCK_ALL			|		\
			VML_UNLOCK_RANGE		|		\
			VML_FUTURE			|		\
			VML_NOFUTURE)

#endif /* !__VM_LOCK__ */
