Define a macro which has human readable strings corresponding to PGU_*

constants.
This commit is contained in:
thorpej 1999-02-04 19:48:21 +00:00
parent 2633b97c02
commit 390864a7a5

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.24 1998/09/22 03:58:11 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.25 1999/02/04 19:48:21 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -153,6 +153,15 @@ struct pv_head {
#define PGU_ISPTPAGE(pgu) ((pgu) >= PGU_L1PT)
#define PGU_STRINGS \
{ \
"normal", \
"pvent", \
"l1pt", \
"l2pt", \
"l3pt", \
}
struct pv_page_info {
TAILQ_ENTRY(pv_page) pgi_list;
LIST_HEAD(, pv_entry) pgi_freelist;