Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/x86/include/pmap.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/x86/include/pmap.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.97 retrieving revision 1.98 diff -u -p -r1.97 -r1.98 --- src/sys/arch/x86/include/pmap.h 2019/02/13 08:38:25 1.97 +++ src/sys/arch/x86/include/pmap.h 2019/02/23 10:59:12 1.98 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.97 2019/02/13 08:38:25 maxv Exp $ */ +/* $NetBSD: pmap.h,v 1.98 2019/02/23 10:59:12 maxv Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -114,6 +114,14 @@ #include #include +#define PATENTRY(n, type) (type << ((n) * 8)) +#define PAT_UC 0x0ULL +#define PAT_WC 0x1ULL +#define PAT_WT 0x4ULL +#define PAT_WP 0x5ULL +#define PAT_WB 0x6ULL +#define PAT_UCMINUS 0x7ULL + #define BTSEG_NONE 0 #define BTSEG_TEXT 1 #define BTSEG_RODATA 2