diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-27 18:14:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-27 18:14:14 +0000 |
commit | e71e5b9906e8bcad4ba22106a7629600d154ba59 (patch) | |
tree | c1d5f704c28a6041eac0906662795b26998152b8 /sys/arch/mips64/include/pte.h | |
parent | 3a581d5e76c368bf4de0ee9c6188aa3f951dd1ef (diff) |
More pmap changes from the potpourri pool:
- use wm_page pg_flags pmap-reserved flags to store attributes, instead of
defining a vm_page_md field.
- use atomic operations to touch the above mentioned flags.
- never create ptes with PG_RO and PG_M set (this was harmless anyway).
- in pmap_clear_modify(), do not flush cache if the page was mapped uncached.
Tested on r5k, rm5200, r10k and r12k.
Diffstat (limited to 'sys/arch/mips64/include/pte.h')
-rw-r--r-- | sys/arch/mips64/include/pte.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/pte.h b/sys/arch/mips64/include/pte.h index 8d1a5aeaa9b..18df5afd99f 100644 --- a/sys/arch/mips64/include/pte.h +++ b/sys/arch/mips64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.3 2005/08/07 07:29:44 miod Exp $ */ +/* $OpenBSD: pte.h,v 1.4 2007/04/27 18:14:11 miod Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -89,7 +89,6 @@ typedef union pt_entry { #define PG_IOPAGE (PG_G | PG_V | PG_M | PG_UNCACHED) #define PG_FRAME 0x3fffffc0 #define PG_SHIFT 6 -#define pfn_is_ext(x) ((x) & 0x3c000000) #define vad_to_pfn(x) (((unsigned)(x) >> PG_SHIFT) & PG_FRAME) #define vad_to_pfn64(x) (((quad_t)(x) >> PG_SHIFT) & PG_FRAME) #define vad_to_vpn(x) ((int)((unsigned)(x) & PG_SVPN)) |