pte.h (438fd324) pte.h (21c23d01)
1/* $OpenBSD: pte.h,v 1.11 2014/01/06 20:27:44 miod Exp $ */
1/* $OpenBSD: pte.h,v 1.12 2014/01/26 17:40:11 miod Exp $ */
2/* $NetBSD: pte.h,v 1.26 1999/04/09 00:38:11 thorpej Exp $ */
3
4/*-
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,

--- 83 unchanged lines hidden (view full) ---

93#define PG_URE ALPHA_PTE_UR
94#define PG_KWE ALPHA_PTE_KW
95#define PG_UWE ALPHA_PTE_UW
96#define PG_PROT (ALPHA_PTE_PROT | PG_EXEC | PG_FOE)
97#define PG_RSVD 0x000000000000cc80 /* Reserved for hardware */
98#define PG_WIRED 0x0000000000010000 /* Wired. [SOFTWARE] */
99#define PG_PVLIST 0x0000000000020000 /* on pv list [SOFTWARE] */
100#define PG_EXEC 0x0000000000040000 /* execute perms [SOFTWARE] */
2/* $NetBSD: pte.h,v 1.26 1999/04/09 00:38:11 thorpej Exp $ */
3
4/*-
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,

--- 83 unchanged lines hidden (view full) ---

93#define PG_URE ALPHA_PTE_UR
94#define PG_KWE ALPHA_PTE_KW
95#define PG_UWE ALPHA_PTE_UW
96#define PG_PROT (ALPHA_PTE_PROT | PG_EXEC | PG_FOE)
97#define PG_RSVD 0x000000000000cc80 /* Reserved for hardware */
98#define PG_WIRED 0x0000000000010000 /* Wired. [SOFTWARE] */
99#define PG_PVLIST 0x0000000000020000 /* on pv list [SOFTWARE] */
100#define PG_EXEC 0x0000000000040000 /* execute perms [SOFTWARE] */
101#define PG_FRAME ALPHA_PTE_RAME
101#define PG_FRAME ALPHA_PTE_PFN
102#define PG_SHIFT 32
103#define PG_PFNUM(x) ALPHA_PTE_TO_PFN(x)
104
105/*
106 * These are the PALcode PTE bits that we care about when checking to see
107 * if a PTE has changed in such a way as to require a TBI.
108 */
109#define PG_PALCODE(x) ((x) & ALPHA_PTE_PALCODE)

--- 34 unchanged lines hidden ---
102#define PG_SHIFT 32
103#define PG_PFNUM(x) ALPHA_PTE_TO_PFN(x)
104
105/*
106 * These are the PALcode PTE bits that we care about when checking to see
107 * if a PTE has changed in such a way as to require a TBI.
108 */
109#define PG_PALCODE(x) ((x) & ALPHA_PTE_PALCODE)

--- 34 unchanged lines hidden ---