diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-18 18:51:38 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-18 18:51:38 +0000 |
commit | 2ec25a2d99ef9124dd51909b5bc2db099cdb50a9 (patch) | |
tree | 2498d4433f9e3ed6efd4e810309db3e3443b72b6 /sys | |
parent | c6c339e9b85aa14b18b66feb01bd39fa8edb63bc (diff) |
Reserve a few pg_flags for pmaps that might want to use them.
i386 will use them soon and miod wants to work on other pmaps in
parallell.
miod@ ok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_page.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h index f0774112c6e..75e03fb4596 100644 --- a/sys/uvm/uvm_page.h +++ b/sys/uvm/uvm_page.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_page.h,v 1.24 2007/04/13 18:57:49 art Exp $ */ +/* $OpenBSD: uvm_page.h,v 1.25 2007/04/18 18:51:37 art Exp $ */ /* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */ /* @@ -176,7 +176,12 @@ struct vm_page { uvm_object */ #define PQ_SWAPBACKED (PQ_ANON|PQ_AOBJ) #define PQ_ENCRYPT 0x00400000 /* page needs {en,de}cryption */ -#define PQ_MASK 0xffff0000 +#define PQ_MASK 0x00ff0000 + +#define PG_PMAP0 0x01000000 /* Used by some pmaps. */ +#define PG_PMAP1 0x02000000 /* Used by some pmaps. */ +#define PG_PMAP2 0x04000000 /* Used by some pmaps. */ +#define PG_PMAP3 0x08000000 /* Used by some pmaps. */ /* * physical memory layout structure |