Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Re-order _P() macros to match bit definitions. ...
details: https://anonhg.NetBSD.org/src/rev/ecc09f6f5518
branches: trunk
changeset: 464745:ecc09f6f5518
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Oct 20 07:54:29 2019 +0000
description:
Re-order _P() macros to match bit definitions. NFCI
diffstat:
sys/uvm/pmap/vmpagemd.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 02962cf742bc -r ecc09f6f5518 sys/uvm/pmap/vmpagemd.h
--- a/sys/uvm/pmap/vmpagemd.h Sun Oct 20 07:22:51 2019 +0000
+++ b/sys/uvm/pmap/vmpagemd.h Sun Oct 20 07:54:29 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmpagemd.h,v 1.12 2019/07/12 10:39:12 skrll Exp $ */
+/* $NetBSD: vmpagemd.h,v 1.13 2019/10/20 07:54:29 skrll Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -75,14 +75,14 @@
#define VM_PAGEMD_UNCACHED __BIT(4) /* page is mapped uncached */
#endif
+#define VM_PAGEMD_REFERENCED_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_REFERENCED) != 0)
+#define VM_PAGEMD_MODIFIED_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_MODIFIED) != 0)
+#define VM_PAGEMD_POOLPAGE_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_POOLPAGE) != 0)
+#define VM_PAGEMD_EXECPAGE_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_EXECPAGE) != 0)
#ifdef PMAP_VIRTUAL_CACHE_ALIASES
#define VM_PAGEMD_CACHED_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_UNCACHED) == 0)
#define VM_PAGEMD_UNCACHED_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_UNCACHED) != 0)
#endif
-#define VM_PAGEMD_MODIFIED_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_MODIFIED) != 0)
-#define VM_PAGEMD_REFERENCED_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_REFERENCED) != 0)
-#define VM_PAGEMD_POOLPAGE_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_POOLPAGE) != 0)
-#define VM_PAGEMD_EXECPAGE_P(mdpg) (((mdpg)->mdpg_attrs & VM_PAGEMD_EXECPAGE) != 0)
#endif /* !_MODULE */
Home |
Main Index |
Thread Index |
Old Index