Add PTE_WIRED bit to keep track of wired pages.

This commit is contained in:
eeh 2002-03-20 18:41:53 +00:00
parent 8ccad96d54
commit bd22d9d0f1
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pte.h,v 1.9 2001/12/04 00:53:19 darrenr Exp $ */
/* $NetBSD: pte.h,v 1.10 2002/03/20 18:41:53 eeh Exp $ */
/*
* Copyright (c) 1996-1999 Eduardo Horvath
@ -193,6 +193,9 @@ extern void tlb_flush_ctx __P((int ctx));
#define TLB_W 0x0000000000000002LL
#define TLB_G 0x0000000000000001LL
/* Use a bit in the SOFT2 area to indicate a locked mapping. */
#define TLB_WIRED 0x0010000000000000LL
/*
* The following bits are used by locore so they should
* be duplicates of the above w/o the "long long"