/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	vm_vppage.h,v $
 * Revision 1.1.2.3  92/04/24  09:33:13  Robert_Picco
 * 	UBC ref bit changes
 * 	[92/04/16  10:03:51  Robert_Picco]
 * 
 * Revision 1.1.2.2  92/02/26  16:13:22  Charles_Briggs
 * 	UBC merge.
 * 	[92/02/22  14:49:01  Charles_Briggs]
 * 
 * $EndLog$
 */
/*
 * @(#)$RCSfile: vm_vppage.h,v $ $Revision: 1.1.2.3 $ (DEC) $Date: 92/04/24 09:33:13 $
 */
#ifndef	__VM_VPPAGE__
#define	__VM_VPPAGE__ 1

/*
 * Vnode specific information for page structure.
 */

struct vm_vppage {
	vm_offset_t vp_addr;			/* Address to access page */
	vm_offset_t vp_pfs;			/* File system private data */
			
};

/*
 * Reserved flag fields
 */

#define	VPP_REFBIT	0x1			/* Mem mapped reference bit */

#define	pg_addr		_upg._vppg.vp_addr
#define	pg_pfs		_upg._vppg.vp_pfs


#define	VP_PAGELIST	(12)
#define	VP_PAGELISTSIZE	(ptoa(VP_PAGELIST))

/*
 * returned by vm_ubc_memhigh
 */

#define	VM_UBC_PAGE_ALLOC	0x00			/* Allocate a page */
#define	VM_UBC_PAGE_FREE	0x01			/* Free dirty pages */
#define	VM_UBC_PAGE_LRU		0x02			/* LRU pages */

#endif	/* !__VM_VPPAGE__ */
